+ Reply to Thread
Results 1 to 7 of 7

Multiple IF statements in 1 formula

  1. #1
    Registered User
    Join Date
    04-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    14

    Multiple IF statements in 1 formula

    Hi All,

    What im looking for is a formula that looks at values in 1 column and changes to a set value in another column that i can specify. example below....


    LASER > Laser Printer Toners
    PAPER (no change)
    FAX > Facsimile Toners
    INK > Ink Cartridges
    CALC > Calculators
    HARD > Hardware & Office Equipment
    COPIER > Photocopier Toners
    HACCESS > Hardware Accessories
    PROMO > Promotions
    RIB > Ribbons
    BATTERY > Batteries
    ANALOGUE COPIER > Analogue Copier Toners

    I need 1 formula to work throughout the column, data from column 1 cannot be changed as it is a feed from a supplier, but we need the new values for an online store upload.

    Any help would be appreciated

    Thanks
    Last edited by Eagle75au; 04-14-2011 at 07:25 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Multiple IF statements in 1 formula

    Eagle75au,

    Welcome to the Excel Forum.


    You will not be able to use a nested IF formula, because Excel 2003 only allows the use of a max of 7 nested IF statements in one formula.

    Look in Excel Help for VLOOKUP, or INDEX with MATCH.


    Can you post your workbook?


    To get the most precise answer, it is best to upload/attach a sample workbook (sensitive data scrubbed/removed) that contains an example of your raw data on one worksheet, and on another worksheet your desired results.

    The structure and data types of the sample workbook must exactly duplicate the real workbook. Include a clear and explicit explanation of your requirements.

    To attach your workbook, scroll down and click on the Go Advanced button, then scroll down and click on the Manage Attachments button.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Registered User
    Join Date
    04-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Multiple IF statements in 1 formula

    Thanks for your reply!

    I have attached both copies of the workbook. 'Workbook' is how we have it setup from our suppliers feed, It already has numerous changes that we have made from the standard text file that we get.... 'Online ready workbook' is how it needs to be for the website upload.

    column C has the data that we need changed from column B, since there is so many products and this needs to be done 3 times per week i would like a formula that could be inserted into column C that changes the data automatically if possible and only changing the appropriate names (from the post above).

    These are the only names that we would be changing, but the spreadsheet needs to be mindful that rows will changed every 2nd day... ie some products will change / be added / removed etc.

    All columns will remain the same

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Multiple IF statements in 1 formula

    Using stanleydgromjr's suggestion -

    I have added a sheet with a lookup table if you add more rows to the table it will need to be changed in the column C formula range

    Please Login or Register  to view this content.
    Where $A$1:$B$14 is the range.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Multiple IF statements in 1 formula

    thanks for the reply!

    can you please explain to me where it gets the data from to put into column C? does it need to have a database so that it knows what to change the data too?

  6. #6
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Multiple IF statements in 1 formula

    Yes, you need to maintain the source database (worksheet "lookup table") with column A being the original data and column B being what you want it changing to.

  7. #7
    Registered User
    Join Date
    04-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Multiple IF statements in 1 formula

    thanks for your help!

+ 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