formula

marf85

New Member
Joined
Apr 20, 2018
Messages
8
Hi all,
ive designed a spreadsheet for my accounting and im after a little help if anyone can please.

within my sheet i have created a column with a drop down containing all the nominal codes. on sheet 2 which is my working sheet for formulas, i have the full list of codes. now, if a code is used in the accounting side, i would like a total kept next to the nominal codes on sheet 2. so at the end of the month i can see exactly how much has been spent against each nominal code. ive exhausted my skills though and just cant make a formula work, anyone able to help? please?

thanks
Jez
 
i copied your formula direct and planned to edit it. this time it comes up with an open box asking me to update values in sheet 2

Ok.

Try this small modification (in red) in the formula.

In
H4 (Sheet 1) and copy down

=SUMIF('Sheet 2'!$B$1:$B$147,G4,'Sheet 2'!$C$1:$C$147)

Markmzz
 
Last edited:
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Ok.

Try this small modification (in red) in the formula.

In
H4 (Sheet 1) and copy down

=SUMIF('Sheet 2'!$B$1:$B$147,G4,'Sheet 2'!$C$1:$C$147)

Markmzz

still the same, pops up the open file box and asks me to update the values in sheet 2?
 
Upvote 0
Hi!

Now I see what you want.

Try the small modification of your formula below:

=SUMIF(PURCHASE!$G$4:$G$450,B1,PURCHASE!$F$4:$F$450)

Or

=SUMIF(PURCHASE!$G$4:$G$450,"*"&B1&"*",PURCHASE!$F$4:$F$450)

Markmzz
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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