Need Simple Cell Formula

windsurfit

Board Regular
Joined
Mar 27, 2003
Messages
228
Hello All, I believe all I need is a formula for this but can't nail it.

I have a sheet with multiple columns of data.

I need a Subtotal value to return (Placed in cell F3) based on the text entry word in a given range (Column J) and the corresponding numeric value in (Column K).

Every cell value containing the word "Current" in column J will have a numeric value in same row of K. If the word is "Prospect" then the subtotal value remains $0.00

So for example when J9 has the Word "Current" and K9 has the value 100.00 then F3 will result in the subtotal and display $100.00
IF-- J9 has the word 'Prospect" and K9 has the value 100.00 then F3 will result and display $0.00

Two running examples:

J9 is Current K9 is 100.00
j10 is Current K10 is 25.00
J11 is Prospect K11 is 25.00

The result from above formula in F3 would be $125.00


J9 is Prospect K9 is 100.00
j10 is Current K10 is 25.00
J11 is Prospect K11 is 25.00

The result from above formula in F3 would be $25.00



This is for all data on all rows as my database grows where it finds the "matched" text.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,213,559
Messages
6,114,302
Members
448,564
Latest member
ED38

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