+ Reply to Thread
Results 1 to 4 of 4

Want cells to pull data based on content of another cell

  1. #1
    Registered User
    Join Date
    12-29-2020
    Location
    Manchester
    MS-Off Ver
    Microsoft 365 Apps for Enterprise
    Posts
    70

    Want cells to pull data based on content of another cell

    Hello and Happy New Year to you from snowy Bolton! Am hoping someone can help with this (example attached). I need a formula that will look at cell B9 and depending on whether it is saying Category 1, 2 or 3 will then take the corresponding data from cells G:I (whichever column category is relevant) and put that data into the corresponding cell in column C.

    I know it's an if/then something but can't get my head around it.

    All help as usual very much appreciated!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Want cells to pull data based on content of another cell

    In C2 copied down:

    =INDEX($G2:$I2,,MATCH($B$9,$G$1:$I$1,0))
    Attached Files Attached Files
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-29-2020
    Location
    Manchester
    MS-Off Ver
    Microsoft 365 Apps for Enterprise
    Posts
    70

    Re: Want cells to pull data based on content of another cell

    AMAZING thank you so much! I forgot about Index/ Match!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Want cells to pull data based on content of another cell

    You're welcome.

+ 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. [SOLVED] Return DATA from different sheet to multiple cells based on content of one cell
    By NullSpot in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-19-2018, 06:53 PM
  2. [SOLVED] Pull Data from multiple cells based on one cell
    By dgroff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-08-2014, 01:20 PM
  3. Replies: 6
    Last Post: 07-31-2014, 01:27 PM
  4. Macro to pull data from one cell based on certain criteria from 3 other cells
    By The Fly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2014, 01:46 PM
  5. Automatically copy cells content based on the content of another cell.
    By chrisbarlow1984 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2014, 11:13 AM
  6. [SOLVED] Pull data from multiple cells into one cell based on criteria?
    By chaddug in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-23-2012, 09:54 AM
  7. Code to pull cells into a new workbook based on content of adjacent cells
    By Greed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2012, 10:05 AM

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