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

Bodin

New Member
Joined
Jan 3, 2018
Messages
18
BCDE
1DateMarketSpent
201.01.2017Roda$1500
301.01.2017Roda$500
401.01.2017Maxi$1000
502.01.2017Roda$740

<tbody>
</tbody>

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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,214,911
Messages
6,122,194
Members
449,072
Latest member
DW Draft

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