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.
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.
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.
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.
Thank you and sorry...
=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".
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks