+ Reply to Thread
Results 1 to 6 of 6

Formula to pull information from one column to another based on value in a third column.

  1. #1
    Registered User
    Join Date
    05-09-2017
    Location
    Edmonton, Alberta
    MS-Off Ver
    2016
    Posts
    61

    Formula to pull information from one column to another based on value in a third column.

    Please see attached excel spreadsheet for example.

    In the 'Names' tab there is a list of Names, files, and locations.
    In the 'Locations' tab I would like to sort the information from the 'Names' tab by location.

    For example; On the Locations tab, in line 2 I would like 'Ember' to appear automatically under the England and France columns and the Files column next to each of those should also pull the value from the corresponding Files column.

    I believe it should be something like...
    Y2: ...if text in column C or D = England then show text from column A
    and
    Z2: ...if text in column C or D = England then show text from Column B

    Thank you for your help,
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to pull information from one column to another based on value in a third colum

    E2 =IF(OR($C2=E$1,$D2=E$1),$A2,"") and drag down

    F2 =IF(OR($C2=E$1,$D2=E$1),$B2,"") and drag down
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Formula to pull information from one column to another based on value in a third colum

    Please try at
    B2:EP21
    =IF(COUNTIFS($C2:$D2,INDEX($E$1:$BP$1,CEILING(COLUMNS($E2:E2),2)-1)),IF(MOD(COLUMNS($E2:E2),2),$A2,$B2),"")
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-09-2017
    Location
    Edmonton, Alberta
    MS-Off Ver
    2016
    Posts
    61

    Re: Formula to pull information from one column to another based on value in a third colum

    Thank you very much, this worked

  5. #5
    Registered User
    Join Date
    05-09-2017
    Location
    Edmonton, Alberta
    MS-Off Ver
    2016
    Posts
    61

    Re: Formula to pull information from one column to another based on value in a third colum

    Thank you very much!

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to pull information from one column to another based on value in a third colum

    Glad I could help.

    Thanks for marking the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] Index match to pull through column information fom one tab to another help
    By MattExcelLearner in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-02-2019, 03:35 AM
  2. Formula to pull Top 10 Keywords based on values in a separate column
    By dyljenx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2017, 11:20 AM
  3. [SOLVED] pull email address from a column based on criteria from another column
    By cinstanl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2016, 08:09 AM
  4. Formula to pull information based on information in different cells.
    By apmi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2014, 03:57 PM
  5. Replies: 2
    Last Post: 06-18-2013, 10:26 AM
  6. Replies: 2
    Last Post: 06-08-2011, 02:36 PM
  7. pull out certian information from each row/column
    By TrueDego in forum Excel General
    Replies: 1
    Last Post: 11-19-2007, 09:42 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