What function to use to get data i need on 2 criteria (date and name)

Bodin

New Member
Joined
Jan 3, 2018
Messages
18
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date[/TD]
[TD]Market[/TD]
[TD]Spent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]01.01.2017[/TD]
[TD]Roda[/TD]
[TD]$1500[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]01.01.2017[/TD]
[TD]Roda[/TD]
[TD]$500[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]01.01.2017[/TD]
[TD]Maxi[/TD]
[TD]$1000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]02.01.2017[/TD]
[TD]Roda[/TD]
[TD]$740[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I try with =sumif, but it sum all on roda.
What function to use to get how much money i spend in chosen market (1st criteria) on chosen date (2nd criteria)?
I try to watch over my finance, and till this year i watched it manually.

Tnx, all
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
could try the sumifs() function that works for multiple criteria
 
Upvote 0
I tried this:
=SUMIF(B2:D5,E1,D2:D5)
Where in E1 i put market that i need, but it calculate all spents in that market per month (i have data for whole last year)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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