Combining If THEN and VLOOKUP

mrsadventure

New Member
Joined
Mar 22, 2019
Messages
1
I am in desperate need of help. I am a novice at excel formulas. I need to write a formula that will pull from a set of data the separates between a Male or Female, Number of Push Ups and then provides a score...so for example:

M
F
Push UpsScorePush UpsScore
36523690
35503588
34493486
33483384
32463283
31453181
30433079
29422977

<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>
</tbody>

So if I am in a new spreadsheet, first column (A) would say M or F, then I will enter data in column (B) then I need Column C to show the corresponding answer, for example

<tbody>
</tbody>
A
B
C
M
36
using the data above should calculate and show "52"
F
30
using the data above should calculate and show "79"

<tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi & welcome to MrExcel
How about


Excel 2013/2016
ABC
1ABC
2M3043
3F3690
Sheet2
Cell Formulas
RangeFormula
C2=SUMPRODUCT((Sheet1!$A$1:$D$1=A2)*(Sheet1!$A$3:$D$10=B2),Sheet1!$B$3:$E$10)



Excel 2013/2016
ABCD
1MF
2Push UpsScorePush UpsScore
336523690
435503588
534493486
633483384
732463283
831453181
930433079
1029422977
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,575
Members
449,089
Latest member
Motoracer88

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