New to Excel, please help me!

stacey_milesg

New Member
Joined
Mar 18, 2019
Messages
14
Hello,

I am very new to excel and am looking for some help! I’d really appreciate if someone can help me with a formula for one of my cells.

I have a cash book, in column B it has details of the person paying the money in. This money is usually for one client but sometimes it can be for more that one so I have to split the amounts which I do so I’m column E, eg B9 will say ‘John Smith’ and then E9 will have a figure and E10 will have a figure but I leave B10 as a blank field. I need a formula so that F9 will add E9&E10 only when B10 is blank. If it is not blank then it should only pull E9. However it could be that one receipt could be for 5 clients and so I need the formula to add all of those and then work down for the whole spreadsheet.

I’m sorry if this sounds very confusing! It’s hard for me to explain!

Thank you in advance for your help!!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Sorry it seems I am unable to get on to the website through my work system so I will have to type the data below.

B26 has the text ‘23114 FENCHURCH REM E29 has the value 12,643.30 and the calculation in F29 is 99,496.64
 
Upvote 0
you must have the ‘23114 FENCHURCH REM E29' else where in Column B, otherwise I can't see where is the 99,496.64 came from.


Book1
ABCDEF
8
9John Smith100225
1050
1125
1250
13A N Other200325
14125
15An Other150150
16fenchurch 23115100150
1750
18A Other1010
19
20
21
22
23
24
25
2623114 FENCHURCH REM E2912,643.3012643.3
27
28
84
Cell Formulas
RangeFormula
F26=IF(ISBLANK(B26),"",SUMPRODUCT(--(LOOKUP(ROW(B$9:B$150),ROW(B$9:B$150)/(B$9:B$150>0),B$9:B$150)=B26),$E$9:$E$150))
 
Upvote 0
could you put =COUNTIF(B:B,B26) on the spreadsheet somewhere except in Col B to see what's the result you get please
 
Upvote 0
Hello Alan, I will do this now for you. Although I may have just realised the problem, the particular values which appear to be incorrect are from the day payees therefore the name is appearing more than once throughout the month.
 
Upvote 0
And the value I had back for that formula was 5

that means you have 5 entries of ‘23114 FENCHURCH REM E29' in Col B, the formula should works out the sum of those 5 plus the empty rows that behind.

Is that what you're after?
 
Upvote 0
No, I would still want those to calculate individually as I need the value in column F to be as per my bank line as it was a different receipt on a different date.
 
Upvote 0
No, I would still want those to calculate individually as I need the value in column F to be as per my bank line as it was a different receipt on a different date.

ok, let me have a look of it.
one easy option is to add a subscript of each payment, like this


Book1
ABCDEF
8
9John Smith100225
1050
1125
1250
1323114 FENCHURCH REM E29 -11000010100
14100
15A N Other200325
16125
17An Other150150
18fenchurch 23115100150
1950
20A Other1010
21
22
23
24
25
26
27
2823114 FENCHURCH REM E29-212,643.3012643.3
84
Cell Formulas
RangeFormula
F9=IF(ISBLANK(B9),"",SUMPRODUCT(--(LOOKUP(ROW(B$9:B$152),ROW(B$9:B$152)/(B$9:B$152>0),B$9:B$152)=B9),$E$9:$E$152))
 
Upvote 0
No, I would still want those to calculate individually as I need the value in column F to be as per my bank line as it was a different receipt on a different date.

apart from Col B, are there any useful info in other columns, e.g. dates that can help to distinguish them?
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,598
Members
449,089
Latest member
Motoracer88

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