Football: If statement search range and return specific value

COVEY777

New Member
Joined
Aug 8, 2014
Messages
1
Hello,

I am building a spreadsheet for a football pool.

I have a range of cells with the game winners and a cell with the person pick and point value.

In one cell the formula should search the range of game winners and see if it equals the pick and assign the point value if true.

The points column will display 16 if the pick is within the range of winners and 0 if not

Thanks!
16
WINNERNAMEPICKPOINTS
SEAHAWKSKEVINSEAHAWKS16
FALCONSDAVIDRAMS16
RAMSTAYLORJETS16
STEELERSMATTBEARS0
EAGLES
JETS

<tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
A
B
C
D
1
WINNER
NAMEPICKPOINTS
2
SEAHAWKSKEVINSEAHAWKS
16
3
FALCONSDAVIDRAMS16
4
RAMSTAYLORJETS16
5
STEELERSMATTBEARS0
6
EAGLES
7
JETS

<tbody>
</tbody>

Enter this formula into cell D2.
Code:
=IF(IFERROR(VLOOKUP(C2,$A$2:$A$7,1,FALSE),0)=C2,16,0)
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top