formula change help needed
Results 1 to 3 of 3

Thread: formula change help needed
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Apr 2009
    Location
    Lincolnshire, England
    Posts
    167
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default formula change help needed

    Hi all,



    Need some assistance please. Have a formula that works justfine however I now need it to work based on a dropdown list in cell H1.
    The original formula was: =VLOOKUP($A9,SFG,10,0) and this was located incell P9
    The new formula Iíve come up with is as follows:
    =IF($A9="","",VLOOKUP($A9,INDIRECT("'"&$H$1&"'!$b$1:$j$2000"),10))
    The formula works however it sometimes returns informationfrom the cells above or below rather than from the row required.


    My theory was to try and take the first formula and somehowmake it work in the second formula but me being me canít make it work thereforeI ask much smarter people than me for assistance.
    Any help would be appreciated.


    Steve


  2. #2
    MrExcel MVP
    Join Date
    May 2009
    Posts
    16,290
    Post Thanks / Like
    Mentioned
    35 Post(s)
    Tagged
    8 Thread(s)

    Default Re: formula change help needed

    Have you tried:

    =IF($A9="","",VLOOKUP($A9,INDIRECT("'"&$H$1&"'!$b$1:$j$2000"),10,0))
    Joe

    When I was a young man I knew everything. Now that I'm older, I realize I know very little, and what I do know, I tend to forget!

  3. #3
    Board Regular
    Join Date
    Apr 2009
    Location
    Lincolnshire, England
    Posts
    167
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: formula change help needed



    you sir are a genius, been working in front of a screen since7:30 am and just couldn’t see the woods for the trees.



    A simple ,0 can’tbelieve that evaded me….

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •