+ Reply to Thread
Results 1 to 3 of 3

retrieve only one value according to another value

  1. #1
    Registered User
    Join Date
    05-26-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    27

    retrieve only one value according to another value

    hi there, i have thousands of data for me to look at.

    its something like this. based on the sample attached file, in Sheet2, in the yellow highlighted cell, i need to display the value based on B1 from Sheet1.

    in the file, i want to retrieve c34's value in col B. there are several c34 in col A but all the values belongs to 1 in col B. i want to be able to take in c34's col B value that is, 1 and not the sum.

    i keep trying sumif formulae but it gives me a 0. any ideas?
    Attached Files Attached Files
    Last edited by aysrun; 08-04-2009 at 06:24 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: retrieve only one value according to another value

    try
    =VLOOKUP(B1,Sheet1!A:C,2,FALSE)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    05-26-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: retrieve only one value according to another value

    so it was just another case of VLOOKUP!
    it made me frustated fer hours. haha.

    thanks alot! cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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