+ Reply to Thread
Results 1 to 9 of 9

If, Then Formula

  1. #1
    Registered User
    Join Date
    01-15-2010
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    If, Then Formula

    Hi. I know this is the general question area, but I'm using Excel 2003 and there's no 2003 area.

    I have a data set that I need to pull from. I have three columns. Columns A is text, Column B is numerical, and Column C is also text.

    What I am trying to do is have a formula look over Column A and if Column A's text matches Column C's, then enter the corresponding numerical data from Column B. Columns A & B match so that A1 goes with B1 and so forth...

    I hope this makes sense. Can anyone help me??

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: If, Then Formula

    Not sure what "need to pull from" means since we can't see your spreadsheet, but in its simplest form, this should work:

    =IF(A2=C2,B2,"")

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If, Then Formula

    Hi,

    Try:
    Please Login or Register  to view this content.
    Then copy down your list.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: If, Then Formula

    Quote Originally Posted by Richard Buttrey View Post
    or gray if you inhabit our former colony across the pond
    Hah!! I'm guilty.


  5. #5
    Registered User
    Join Date
    01-15-2010
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: If, Then Formula

    Will this formula look through the entire range in A? C1 won't always coincide with A1... C1's match might be all the way down the list in A27, for example...

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If, Then Formula

    Hi,

    Your original post seemed to imply that the formula required would be consistent down all rows. From your further query it would seem you have something else in mind which I don't fully understand from your description.

    Could you upload your workbook showing some before and after examples, i.e. your original data and what results you expect to see - and the reason if it's not immediately apparent.

    Regards

  7. #7
    Registered User
    Join Date
    01-15-2010
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: If, Then Formula

    I've attached the file. Basically I have a "master" list of items and their count. I then have a second list compiled that is an abbreviation of the first. I would like to apply the count for the second list as well, without having to use the Find feature. All words in the second list are in the first list, but not vice-versa.

    What I need is a formula that will look through the range in Column A, and if the word in Column F matches a word in Column A, the corresponding number in Column B is entered.

    Does that make sense?
    Attached Files Attached Files

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If, Then Formula

    Hi,

    Try in G3 and copied down:
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    01-15-2010
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: If, Then Formula

    Thanks. that worked!

+ 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