+ Reply to Thread
Results 1 to 6 of 6

Choose specific name in a column and return specific value

  1. #1
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Choose specific name in a column and return specific value

    Hi

    I Need a formula that will search column B for a specific name, let's say "SOLOMON" and if it finds it, return the value in A15. If not found the value must be zero.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Choose specific name in a column and return specific value

    Try this:

    =IF(COUNTIF(B2:B6,"SOLOMON")>0,A15,0)

    You posted in error to the Access section, so I have moved your thread to the Excel section.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Choose specific name in a column and return specific value

    Try

    =IFERROR(IF(MATCH(C2,$B$2:$B$9,0),A15),0)

    C2=Specific name
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: Choose specific name in a column and return specific value

    Thank you and sorry...

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Choose specific name in a column and return specific value

    =countif($b$1:$b$13,"solomon")


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Choose specific name in a column and return specific value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to manually choose PDF file and save it to a specific location with specific name
    By tnuis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-18-2014, 07:47 AM
  2. choose one specific return from multiple returns of Vlookup
    By loaiky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2013, 12:06 PM
  3. Choose data from a particular column based on a specific value
    By markx in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  4. [SOLVED] Choose data from a particular column based on a specific value
    By Eric in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  5. [SOLVED] Choose data from a particular column based on a specific value
    By Eric in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] Choose data from a particular column based on a specific value
    By markx in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] Choose data from a particular column based on a specific value
    By markx in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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