+ Reply to Thread
Results 1 to 2 of 2

Selecting, Moving Specific Numbers in Excel 2007

  1. #1
    Registered User
    Join Date
    10-11-2011
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    3

    Selecting, Moving Specific Numbers in Excel 2007

    I have been using Excel 2007 to analyze some data that comes in long, narrow worksheets. The first column A will have values such as (e.x. row 1=0000, row 2=0030, row 3=0040,...etc) with a corresponding value for each entry in the second column B (e.x. row 1=500, row 2=1200, row 3=500). I would like to know if I could insert a command in top of Column C that says if 000 is present in any row of Column A, then send the value, in this case 1500, to same row in column C?

    Thanks in advance for your help

    AlC

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Selecting, Moving Specific Numbers in Excel 2007

    I presume there are more of these to come? You have an entire list of numbers you want to lookup and if present put a new value in column C on that row?

    The formula you want is VLOOKUP. You need to create a table off to the right where you list your lookup values in the first column and the results you want to return in the adjacent column.

    Please Login or Register  to view this content.

    So, is you setup this table in columns M:N, you could put this formula in C1 and copy down:

    =VLOOKUP(A1, $M:$N, 2, 0)
    Last edited by JBeaucaire; 02-18-2012 at 11:05 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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