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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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