Match Text to grab value

chrisguk

Board Regular
Joined
Jan 10, 2011
Messages
135
I know this is probably a really easy formula but my excel skills have dwindled over time since I havent been using it.

Anyway this is what I am trying to achieve:

Cell A1 I have a Text Value Photo
Cell B1 Value is a payment for example 5$

These columns are a running list of payments which could be to anyone. Therefore Photo payment could appear more than once.

Then in columns

Cell C1 Text Value for example again Photo but C2 will be another category and so on
Cell D1 This will be the current balance
Cell E1 This will be the total amount of payments in column B that match the text in column C, if they match then the sum adds it.
Cell F1 Simple sum to minus the contents of column D with Column E.

I hope this make sense, I would be grateful for some guidance.
Chris
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
something like this?


Book1
ABCDEF
1Photo1Photo1109
2Photo2Others132
3Photo3
4Others1
5Photo4
6Others2
Sheet5
Cell Formulas
RangeFormula
E1=SUMIF($A$1:$A$6,C1,$B$1:$B$6)
F1=E1-D1
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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