VLOOKUP IF AND Function - Need Help

afont41

New Member
Joined
Feb 27, 2015
Messages
1
I need to pull data from 4 columns for ticket sales. The columns include:
- Date of Purchase
- Amount Paid
- Event Date
- Payment Method

I am trying to pull the amount paid based on the event date, date of purchase, and payment method to create general journal entries.

For example - I need to pull the total amount paid on 2/25/2015 by Visa, MasterCard, Discover for an event on 2/27/2014. Please advise if I should post the data if it would help with answering my question.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If the date/event/payment combination is unique (i.e. there will only ever be one payment on 25/02/2015 by Visa for an event on 27/02/2014), then you can use SUMIFS(), which will be a lot faster. The format is:

=sumifs(AmountColumn, DateofPurchColumn, ReqDateofPurch, EventDateColumn, ReqEventDate, PaymentMethodColumn, ReqPaymentMethod)

Where Req = required, so ReqDateofPurch in this case points to a cell containing the date 25/02/2015, ReqPaymentMethod points to a cell containing the string "Visa" etc.

Does that make sense? Edit: if you are unsure then pasting some data might be helpful.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

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