+ Reply to Thread
Results 1 to 4 of 4

Need help nested if where based on criteria then return values from another column

  1. #1
    Registered User
    Join Date
    05-07-2018
    Location
    New Mexico, USA
    MS-Off Ver
    365
    Posts
    5

    Question Need help nested if where based on criteria then return values from another column

    I have 2 spreadsheets. One is the Master, the other is called Export. I need to get the numbers from the export into the master (column C) each month based on the item row name and the IDs in column A need to match. I kept trying: IF column B CONTAINS this, then pull in column T from other spreadsheet where column A matches on both spreadsheets (I was using index/match). I can't get it to work. I've attached an example and the formula logic is on third tab (easier to read than below)

    2 spreadsheets
    Master
    Export

    If Column B in the Master contains this text "TTT RESV FEE- 3PH", then Return value from Export column N, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text " TTT RESV FEE- ABI", then Return value from Export column D, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT RESV FEE- CHI", then Return value from Export column D, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT RESV FEE- JAM", the Return value from Export column D, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT VOICE UPSCALE ", then Return value from Export column J, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT WEB-3PH", then Return value from Export column L, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT BOOKING FEE", then Return value from Export column B, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "TTT COMM", then Return value from Export column F, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "CONF", then Return value from Export column Q, where Column A matches in both, otherwise blank or 0
    If Column B in the Master contains this text "PMS", then Return value from Export column P, where Column A matches in both, otherwise blank or 0
    Attached Files Attached Files
    Last edited by Britniblock; 05-08-2018 at 12:50 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help nested if where based on criteria then return values from another column

    Check your criteria. Columns: U, S, X, W on Export tab contain nothing

  3. #3
    Registered User
    Join Date
    05-07-2018
    Location
    New Mexico, USA
    MS-Off Ver
    365
    Posts
    5

    Re: Need help nested if where based on criteria then return values from another column

    Sandy666-thank you, I had removed columns on my test data but didn't fix those. I fixed the post above and uploaded new attachment. Thanks for your help!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Need help nested if where based on criteria then return values from another column

    The following IF(...SUMIFS... based formula seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. 2 workbooks/need to match 3-4 criteria and return text from a column/Nested Vlookup?
    By camouflagewoman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2018, 06:09 PM
  2. Return 3 values from column based on random value but with exlusion criteria
    By anxiolydiot in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-29-2015, 07:32 AM
  3. Replies: 6
    Last Post: 07-24-2015, 11:40 PM
  4. Return column values based on criteria
    By SalientAnimal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2014, 10:55 AM
  5. Replies: 1
    Last Post: 07-03-2013, 12:14 AM
  6. matching values based on criteria and return values from another columns
    By lizard54 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2012, 11:29 AM
  7. [SOLVED] Nested IF statement to return a value based on multiple criteria
    By harrydnyc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2011, 11:45 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