+ Reply to Thread
Results 1 to 4 of 4

Fetching data based on cell value

  1. #1
    Forum Contributor
    Join Date
    03-13-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    152

    Fetching data based on cell value

    Hi,

    I have attached an example file for your reference.

    My data present in the column locations 'AO' to 'AS', what I need is based on the value (1-5) in column 'AT' the data to be fetched from headers 1-5. If column 'AT' contains '2' then data of header '2' to be placed in column 'AU' and data of header '3' to be placed in column 'AV'.

    Expecting formula rather than macro.


    Thanks
    Attached Files Attached Files
    Last edited by gan_xl; 10-11-2013 at 04:59 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Fetching data based on cell value

    Put this in AU3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this in AV3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy both formulae down.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-13-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: Fetching data based on cell value

    Thanks Pete, it works.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Fetching data based on cell value

    Glad to hear it.

    You should ensure that column AT only contains numbers 1 to 4.

    Pete

+ 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. fetching data from search results from a website using cell contents?
    By Cutters in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2012, 07:29 AM
  2. Fetching Value based on Multiple columns
    By kseenu in forum Excel General
    Replies: 3
    Last Post: 07-31-2012, 03:06 AM
  3. Dynamic Data fetching from DB and populate in a cell
    By LakshmiNarasu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2010, 07:42 AM
  4. Fetching contents of cell based on input
    By artofme in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2008, 04:57 AM
  5. Fetching values based on two columns
    By bijusidharth in forum Excel General
    Replies: 4
    Last Post: 09-07-2007, 09:53 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