+ Reply to Thread
Results 1 to 14 of 14

Conditional Formating or List required to highlight values not pulled through that should

  1. #1
    Registered User
    Join Date
    09-20-2018
    Location
    Bradford
    MS-Off Ver
    2010
    Posts
    15

    Conditional Formating or List required to highlight values not pulled through that should

    Thanks to some lovely people last time we got the 0, and 1 working correctly (well sort of)
    But we've noticed particularly for the V7 and X8 rates that even though there might be a figure i.e 1 or 3 in the Input Template, the value isn't showing up in the Cost Calculation tab.
    Is there a way to highlight these on both/either sheet so we can review them, or possibly change the fomula to make sure it's pulling through correctly as we may be missing loads of revenue we could be collecting?
    I've pulled through the values into Columns AC and AD to demonstrate the costs aren't pulling through as the example but I'd need to apply this to all the columns on the page but if we can fix these two as a priority I'd be grateful!
    Attached Files Attached Files

  2. #2
    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,662

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    There is a lot of stuff going on there. Your explanation is incomplete. Can you make this STAND-ALONE, as I do not want to have to go back to previous threads to figure out WHERE to look, WHAT you want and WHERE you want to see it.
    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

  3. #3
    Registered User
    Join Date
    09-20-2018
    Location
    Bradford
    MS-Off Ver
    2010
    Posts
    15

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    Hi Glen,

    The only thing we need to focus on is the values aren't pulling through all the time despite a number number being entered into the Input Template.
    I've pulled through the values from the Cost template to show that sometimes it pulls a value and other times it doesn't.

    We need a way to highlight cells where the value hasn't pulled through in a different colour (so conditional formating)
    OR
    create a list on a different sheet for the lines affected
    OR and probably the best solution a fix on the fomulae to make sure the values are pulling through correctly so we dont need a manual amendment.

    Thank you for taking a look. My brain just can't figure it out.

  4. #4
    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,662

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    WHERE is the formula that does not work?

  5. #5
    Registered User
    Join Date
    09-20-2018
    Location
    Bradford
    MS-Off Ver
    2010
    Posts
    15

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    Hi Glen,

    They're all in the COST TEMPLATE. there's several dependong on the columns:

    Columns K-N (A1-A5)
    =IF($B6="","",IF(VLOOKUP($B6&"-"&ROW(),inputtemplate,MATCH(J$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)>0,VLOOKUP($E6,costtemplate,MATCH(J$3,'Cost Model'!$E$1:$CN$1,0)+2,FALSE),""))

    Column TMA Column O (TMA)
    =IF('Input Template'!$O6="","",VLOOKUP('Input Template'!O6,TMACOSTS,2,FALSE))

    Columns P-V (V1-V7)
    =IF($B6="","",IF(VLOOKUP($B6&"-"&ROW(),inputtemplate,MATCH(P$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)>0,IF(VLOOKUP($E6,costtemplate,MATCH(LEFT(P$3,FIND(" ",P$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J6:$N6<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)="","",
    VLOOKUP($E6,costtemplate,MATCH(LEFT(P$3,FIND(" ",P$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J6:$N6<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)*VLOOKUP($B6&"-"&ROW(),inputtemplate,MATCH(P$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)),""))

    Columns W-AB (X1-X8)
    =IF($B6="","",IF(VLOOKUP($B6&"-"&ROW(),inputtemplate,MATCH(W$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)>0,IF(VLOOKUP($E6,costtemplate,MATCH(LEFT(W$3,FIND(" ",W$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J6:$N6<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)="","",
    VLOOKUP($E6,costtemplate,MATCH(LEFT(W$3,FIND(" ",W$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J6:$N6<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)*VLOOKUP($B6&"-"&ROW(),inputtemplate,MATCH(W$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)),""))

  6. #6
    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,662

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    There is no Cost template sheet.

    There is, however, a Cost Calculation sheet. In that sheet, cell J13, the CF formula is:

    =VLOOKUP($E13,costtemplate,MATCH(J$4,'Cost Model'!$E$1:$CN$1,0)+2,FALSE)

    that returns 182.42 from E147 of the Cost Model sheet. That's not blank, so the CF returns FALSE and the cell is (correctly) shaded orange.

    In cell J14, the CF formula becomes:

    =VLOOKUP($E13,costtemplate,MATCH(K$4,'Cost Model'!$E$1:$CN$1,0)+2,FALSE)

    which returns a blank from cellF127 of the Cost Model sheet. So the CF returns TRUE and the cell is shaded grey.

    In short, it is doing exactly what you have asked it to do... In tyour file I ive copy pasted the VLOOKUP formula into the pruple cells and removed the CF so you can see what's happening.

    if that is NOT what you want to happen... what DO you want???
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 07-15-2022 at 04:24 AM.

  7. #7
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    The file looks vaguely familiar, I think I may have looked at a previous thread when you were trying to fix a small portion of it. I never got my head around what you were trying to do.

    On a general note, you seem to be asking for a formula to show when another formula isn't working, which is kind of the wrong question - you need to fix the first formula if it's not doing what you want.

  8. #8
    Registered User
    Join Date
    09-20-2018
    Location
    Bradford
    MS-Off Ver
    2010
    Posts
    15

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    Hi Glen,

    So if we row 19 as an example. Cell W19 in the Cost Calculation but there's a 1 in cell W19 in the input template. It's definitely not working correctly.
    The orange cell indicates that it should be pulling through.
    Same issue in Cells AB9-10, AB17-AB20 - The cost calculation tab is Blank but there's a 1 in the Input Template.

  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,662

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    While I'm looking at row 19... please respond directly to the points I raised in Post 6... I will attach the fiel I used to that post (forgot last time).

  10. #10
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    I don't know what the logic is supposed to be. But for W19 you end up with this:

    1. Checks row exists in inputtemplate - if not then "". This evaluates to TRUE
    2. Finds first column in J:N of input template with "1", then converts this to a letter and combines with first part (before space) of value in row 3 of cost calculation. This evaluates to "X1d". Is it meant to be "X1a"?
    3. Looks up value in cost model sheet based on value in column E of cost calulation sheet (3SL6) and above value (X1d). This evaluates to "". (if it was X1a then it would be 66.51)
    4. If 3. is not blank, multiplies by factor looked up in input template based on the value in row 3 of the cost calculation "X1 (a-d)", this would evaluate to 1 if the result from 3. was not blank.

  11. #11
    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,662

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    =IF($B19="","",IF(VLOOKUP($B19&"-"&ROW(),inputtemplate,MATCH(W$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)>0,IF(VLOOKUP($E19,costtemplate,MATCH(LEFT(W$3,FIND(" ",W$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J19:$N19<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)="","",
    VLOOKUP($E19,costtemplate,MATCH(LEFT(W$3,FIND(" ",W$3,1)-1)&VLOOKUP(MATCH(1,IF('Input Template'!$J19:$N19<>"",1,0),0),Aratelookup,2,FALSE),'Cost Model'!$E$1:$CN$1,0)+2,FALSE)*VLOOKUP($B19&"-"&ROW(),inputtemplate,MATCH(W$3,'Input Template'!$J$3:$AB$3,0)+9,FALSE)),""))

    Cell W19 resolves to

    =VLOOKUP(3SL6,'Cost Model'!$C$3:$CS$500,48,false)... which is cell AX142... which is blank. Your formula says (red) if it's blank, return blank.

  12. #12
    Registered User
    Join Date
    09-20-2018
    Location
    Bradford
    MS-Off Ver
    2010
    Posts
    15

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    Hi,

    Sorry for the delay, got pulled onto other stuff.
    What I'm trying to say is it should pull the value for any of the X1's a-d.
    Glenn I have reviewed. I simply need the sheet to pull a price from the back sheet so using Row 19 as the example again X1 has a 1 in Column W but on the Cost Calculation Tab it's showing as blank. Meaning it's not pulling through all the time. It's definitely not blank.


    I'm also struggling to pull over different rates for different companies based on the Cost Calculation. I thought by changing the Sheet name and renaming the parameters it would fix that, but just coming up blank on these examples as well.

  13. #13
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    You say that you want it to "pull the value for any of the X1's a-d".

    What result are you expecting when there is more than one value for these in the Cost Model sheet?

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,536

    Re: Conditional Formating or List required to highlight values not pulled through that sho

    This thread is marked as solved ... Solved tag should be removed if the issue is still not resolved.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Help required in conditional formating
    By balu2021 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2017, 04:05 AM
  2. Conditional formating based of list of values that grows
    By horsefish01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2016, 05:21 PM
  3. [SOLVED] Simple Conditional Formating Help Required - If Blank then Red Bold text required
    By thilag in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2014, 12:23 PM
  4. [SOLVED] Multiple Conditional formating required
    By WimpieOosthuizen in forum Excel General
    Replies: 4
    Last Post: 02-06-2014, 07:21 AM
  5. [SOLVED] Fx to highlight multiple values from a list using conditional Formatting
    By HooligaD in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2013, 03:03 PM
  6. Avg values for multiple cells pulled from named list...?
    By rtilghman in forum Excel General
    Replies: 3
    Last Post: 02-03-2010, 11:43 AM
  7. list two columnar values based on conditional formating (text color)
    By beechum1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2006, 05:53 AM

Tags for this Thread

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