+ Reply to Thread
Results 1 to 2 of 2

Nested IF too long? Need solution?

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    19

    Nested IF too long? Need solution?

    Hi,

    I currently have a nested IF statement as follows..

    Please Login or Register  to view this content.
    What this does is in Q64 is a dropdown with either D or M as outcomes. If D is selected, then I want it to look at what has been selected in X50 and then bring through prices from the PriceComparison_Date sheet. Which this all does fine.

    The problem is, I need to have the other outcome available to. So if the user selected M, then the same IF statement is performed, but instead of bringing values from say PriceComparison_Data!F9, it would bring the value in PriceComparison_Data!G9. So all the F columns would shift to G columns.

    Does this make sense? Is it possible?

    Cheers
    Will

  2. #2
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Nested IF too long? Need solution?

    Seems to me most of your IF statements could be reduced to a lookup, so you could have one if that determines which lookup is needed based on the value of Q64. General format would be:
    Please Login or Register  to view this content.
    Then put a table that has the possible values for X50 in column AA, results for if it's D in column AB, and results for if it's M in column AC.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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