Finding cash sales for specific cashier question

easybpw

Active Member
Joined
Sep 30, 2003
Messages
439
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello and thank you in advance for the help.

How can I accomplish this with a formula. Here's the situation.

In my spreadsheet column A shows the cashier ID and column C is supposed to show the cash sales for the cashier. Over to the right on the same spreadsheet column J shows the different tenders the cashier had that day (AMEX, VISA, CASH, etc), column L again shows the cashier ID, and column M shows the amount of sales for the specific tender. What I need to do is find a formula that puts the amount of cash sales from column M into column C. Perhaps below will be a better example.

column A column C column J column L column M

11111 ????? expected 458.3 AMEX 11111 500.25
22222 ????? expected 125.21 Cash 11111 458.3
DISCOVER 11111 320.56
VISA 22222 589.01
MASTERCARD 22222 87.23
Cash 22222 125.21

I cannot change or move the data to different columns to make it easier. And there could be many cashiers with many different tender types so column J, L, & M are very long. If the cashier didn't have cash sales and only credit cards or another type of tender then the result of the formula would be "No Cash". UGH, the formatting after submitting this doesn't show as I type this. I hope it's understandable.


Can this be accomplished?

Thanks!

Bill
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
How about


Book1
ABCDJKLM
211111458.3AMEX11111500.25
322222125.21Cash11111458.3
4DISCOVER11111320.56
5VISA22222589.01
6MASTERCARD2222287.23
7Cash22222125.21
Specs
Cell Formulas
RangeFormula
C2=SUMIFS(M:M,L:L,A2,J:J,"cash")
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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