Need help creating a formula, please!

jessicamessina

New Member
Joined
Dec 8, 2017
Messages
3
I need help creating a formula that would look at cells to see if there is a date. If there is it should take the $ amount from another cell and then adding each time it finds a date.

Example:
cell K14 & K16 = 12/17/2017
cell K15 = blank
cell I14 = $15,555
cell I15 = $16,200
cell I16 = $22,000

Add amount from cells K14 & K16 to cell B5:biggrin:
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try something like this:


=SUMIF(K14:K16,"12/17/17",J14:J16)

You may want to replace the middle argument (12/17/17) with a cell reference and you will probably need to change the two ranges to reflect all your data. I assumed by "a date" you mean 12/17 not just any old date.

I hope this helps.

Ken
 
Upvote 0
Hi,

Since dates are just numbers formatted as dates, and assuming you want to sum Column I as long as there is Any date in corresponding Column K, and that cells without a Date in Column K is always Blank or does not contain any positive numbers:


Book1
BIJK
5$37,555.00
14$15,555.0012/17/2017
15$16,200.00
16$22,000.0012/17/2017
Sheet1
Cell Formulas
RangeFormula
B5=SUMIF(K14:K16,">0",I14:I16)
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

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