+ Reply to Thread
Results 1 to 9 of 9

More troublesome IFs, ANDs and ORs - Good job I'm already bald!

  1. #1
    Registered User
    Join Date
    12-09-2021
    Location
    Birmingham, United Kingdom
    MS-Off Ver
    2010
    Posts
    21

    More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Hi gurus,

    I have a sheet (attached, no sensitive info as its all example data at the moment) that, thanks to the help from you guys, not has a PTO Charge (Paint to order) which is set at an arbitrary 50% charge.

    Now comes the difficult bit, unless I'm overthinking it; I have a list of data on the creatively-named Info sheet that has doors, cornices, panels etc but they all need a DIFFERENT percentage levied.

    i.e. Single Shaker Door 486x596 has a Paint-to-Order charge of 15%, whereas T&G End panel has a Paint-to-Order charge of 69.94%.

    Is there an easy (or even a complicated one cos i love my formulas lol) that will calculate the total and correct PTO charge on a list of products, even if they are all different? I'm wondering f this is going to end up down a database road, but hoping we can do this in excel as I can get my boss to navigate that program now lol.

    I have attached the whole sheet (loads of locked cells but totally unlocked for this exercise).

    Hope this is something I can do...

    Thanks in advance for any assistance, as always it is very gratefully received.

    Rob.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,702

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Are you still using Excel 2010? If not, please update your profile.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-09-2021
    Location
    Birmingham, United Kingdom
    MS-Off Ver
    2010
    Posts
    21

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Not by choice lol. Every machine at our premises uses Office 2010.

    Ta
    Last edited by AliGW; 01-22-2024 at 07:55 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,702

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    You would need a column in the product list that indicated which to use and then add that using a VLOOKUP or a SUMPRODUCT.

    Can you please fill in two or three products in the quote sheet and MANUALLY indicate what the results should be. Please annotate that sheet with the logic.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,298

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Where is the list of applicable PTO rates?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Registered User
    Join Date
    12-09-2021
    Location
    Birmingham, United Kingdom
    MS-Off Ver
    2010
    Posts
    21

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Quote Originally Posted by Glenn Kennedy View Post
    Where is the list of applicable PTO rates?
    It was originally built into the PTO Charge cell as a standard 50% rate, I was told this morning that each product may now end up having different values, so I guess first things first is add a column like Ali has suggested to show the PTO PRICE rather than discount, then somehow flag those products with the higher price if the PTO colour is labelled 'Yes' on the top of the sheet?

  7. #7
    Registered User
    Join Date
    12-09-2021
    Location
    Birmingham, United Kingdom
    MS-Off Ver
    2010
    Posts
    21

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Quote Originally Posted by AliGW View Post
    You would need a column in the product list that indicated which to use and then add that using a VLOOKUP or a SUMPRODUCT.

    Can you please fill in two or three products in the quote sheet and MANUALLY indicate what the results should be. Please annotate that sheet with the logic.
    Thanks Ali,

    I'm headed out for a CT scan so might not be able to play with this until later this evening but will pick up any reponses on my phone.

    thanks

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,702

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    As Glenn has implied, you need to add the PTO rate for each product in a column on the product list. We cannot help further until we have a definitive list of those rates.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,298

    Re: More troublesome IFs, ANDs and ORs - Good job I'm already bald!

    Good luck with the scan!


    I'd do something like this... see the yellow cells which I have modified on both sheets.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Troublesome layout for analysis
    By keithwins in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 03-04-2019, 02:19 PM
  2. Make the number bald
    By pietka in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2014, 05:19 AM
  3. Replies: 2
    Last Post: 11-04-2012, 06:35 PM
  4. Replies: 4
    Last Post: 07-26-2012, 11:31 AM
  5. Troublesome workbook consolidation from a folder source
    By Julesdude in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2010, 02:21 PM
  6. aNOTHer troublesome equation
    By Micayla Bergen in forum Excel General
    Replies: 7
    Last Post: 08-14-2005, 11:05 PM
  7. Finding the Troublesome VB?
    By twogoodtwo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2005, 06:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1