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
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
=SUMIF(List_of_codes,Code_you_wish_to_sum,List_of_amounts)

Thanks njimack, i still cant get it to work though. heres what ive put

=SUMIF(B1:B147,Sheet1!G4:G70)

page 1 has the accounting sheet and page 2 is the working sheet with the nominal codes listed down the columns. i may need a more simple explanation? many thanks
 
Upvote 0
And which cell has the nominal you want the sum of?

sheet 1 - cells G4-G70 is the column with the drop down list
sheet 2 - cells B1-B147 contain that actual list and im try t make a total next to each one in C1-C147
 
Upvote 0
hi guys can anyone else help on this?

Hi!

Try this in H4 (Sheet1) and copy down

=SUMIF(Sheet2!$B$1:$B$147,G4,Sheet2!$C$1:$C$147)


FGHIABCD
1Sheet11Code001835Sheet2
22Code002879
3ListResult3Code003619
4Code00183024Code004345
5Code00276675Code005519
6Code00372406Code006162
7Code00491007Code007606
8Code00569288Code008500
9Code00673779Code009521
10Code007632010Code010310
11Code008648911Code001612
12Code009789512Code002781
13Code010756313Code003747
***********************************************************

<tbody>
</tbody>

Markmzz
 
Last edited:
Upvote 0
many thanks but it didnt work, came up with too many arguments. im really stuck on this one.
 
Upvote 0
Here all is Ok. Like you can see in my last post.

Could you post the formula that you used?

Markmzz

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
 
Upvote 0

Forum statistics

Threads
1,216,124
Messages
6,128,979
Members
449,480
Latest member
yesitisasport

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