+ Reply to Thread
Results 1 to 5 of 5

Looking for formula

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Louisville,Ky
    MS-Off Ver
    Excel 2007
    Posts
    4

    Looking for formula

    Hello everyone!

    I am a somewhat excel rookie, so if I am vauge I apologize in advance. I am looking for a formula to see if a number appears in column B, it will add the dollar amount I have in column D. I have put in a screenshot for reference. Thanks in advance!

    example.JPG

  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,603

    Re: Looking for formula

    Are you still using Excel 2003 like your profile states? If so, put this in A4:

    =IF(COUNTIF($B$6:$B$9,A3)>0,VLOOKUP(A3,$B$6:$D$9,3,0),"")

    If you are using a later version of Excel, then you can use this shorter version:

    =IFERROR(VLOOKUP(A3,$B$6:$D$9,3,0),"")

    Then copy across.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Louisville,Ky
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Looking for formula

    No, we are using 2007 at this business. I inserted that formula into A4 as stated, but no dollar amount is being populated, just a blank space. Am I supposed to insert what I need it to look for in the formula somewhere?
    Last edited by TheBigRelish; 10-03-2012 at 09:14 PM. Reason: incorrect Excel year

  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,603

    Re: Looking for formula

    Copy the formula across into B4:D4, for example. You will get a blank if the number in the cell above is not present in your list.

    Hope this helps.

    Pete

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Looking for formula

    We would love to continue to help you with your query, but first, before we can proceed, please see the forum rules about proper thread titles and adjust accordingly...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    HTH
    Regards, Jeff

+ 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