Adding together separate currency rows based on adjacent column value

lesliegiles

New Member
Joined
Dec 27, 2013
Messages
2
Good morning

I hope you can offer any help or guidance on the issue I’m currently having.

As an example:

I have a spread sheet which totals the amounts in 2 columns D and E, which are pounds and pence. The formulas for each one are:


Pounds

  • =SUM(D3:D8)+ROUNDDOWN((SUM(E3:E8)/100),0)

Pence

  • =MOD(SUM(E3:E8),100)

These work very well and give me the correct figures.

What I would like to do is to add up the values of each row based on the criteria of column C and have just one value in ONE cell (as shown on lines 13 & 14), so for instance:


  • When added together the values of rows 3,4 & 6 are 7.25 (based on a value of “W”)
  • When added together the values of rows 7 & 8 are 5.00 (based on a value of “F”)

I have tried to show this as an example in the image below:

ABCDE
1RECEIPTS
2DATETRANSACTION DESCRIPTIONTCIN
3W125
4W350
5
6W250
7F250
8F250
9
TOTALS OF ALL COLUMNS1225
13Total for all rows with "W"7.25(Figure recorded in just one cell)
14Total for all rows with "F"5.00(Figure recorded in just one cell)

<tbody>
</tbody>

I appreciate any suggestions you are able to offer and thank you in advance.

If this has been covered in another thread please do let me know

I’m using Excel 2010 on Win 7 Pro.


Kind regards

Les
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi,

In cell E13:-

Code:
=SUMIF($D$3:$D$8,"W",$E$3:$E$8)+(SUMIF($D$3:$D$8,"W",$F$3:$F$8)/100)
and in cell E14:-

Code:
=SUMIF($D$3:$D$8,"F",$E$3:$E$8)+(SUMIF($D$3:$D$8,"F",$F$3:$F$8)/100)

Hope this helps,

Eric.
 
Upvote 0
Hi,

In cell E13:-

Code:
=SUMIF($D$3:$D$8,"W",$E$3:$E$8)+(SUMIF($D$3:$D$8,"W",$F$3:$F$8)/100)
and in cell E14:-

Code:
=SUMIF($D$3:$D$8,"F",$E$3:$E$8)+(SUMIF($D$3:$D$8,"F",$F$3:$F$8)/100)

Hope this helps,

Eric.
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,011
Members
449,204
Latest member
tungnmqn90

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