+ Reply to Thread
Results 1 to 2 of 2

Trying to shorten if then statements

  1. #1
    Registered User
    Join Date
    05-22-2013
    Location
    Illinois
    MS-Off Ver
    Excel 2010
    Posts
    28

    Trying to shorten if then statements

    Hi,

    I have a very very long if/then statement that I want to shorten but not sure how to. I need to choose from a long drop down list then based on that and a type need to pull the correct weight and $ from table. However, if the body & side = 76, then I want to pull the info from A31-A40 other than that all the info should be pulled from A5-A29.

    Please see the spreadsheet and current formulas that work, however they are not very clean.

    Thank you,
    PS
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Trying to shorten if then statements

    If you EVER find yourself creating individual range names for dozens of single-cell references...Please post a question here instead.

    Regarding your issue...
    I believe these regular formulas return the values you're looking for:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then delete all those unnecessary range names.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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