Another excel head scratcher.
Author
Discussion

br d

Original Poster:

9,072 posts

257 months

Monday 16th April 2018
quotequote all
I have sheet with a list of jobs, it's only 5 rows with the address and the price being the relevant ones.

So.

A Job Address C D Cost
10 Smith Street 100
20 Jones Road 200
40 Brown Avenue 150
10 Smith Street 300
60 Acacia Avenue 200
40 Brown Avenue 400


Etc


Now as you can see some jobs I've visited on different occasions, sometimes they appear in the sheet 2 or 3 times, no real pattern.

I need to join the jobs from the same address together somehow so I can see the full costs at each address. There are too many to go through manually! Can this be done?

Tia.

br d

Original Poster:

9,072 posts

257 months

Monday 16th April 2018
quotequote all
Formatting has taken the spaces out!
Top line is the headers.

anonymous-user

85 months

Monday 16th April 2018
quotequote all
Sort by column with the address in it
This get all the same addresses one after the other

Subtotal at each change of addreess
Count with give you the number
Sum will give you the total.

MacW

1,352 posts

207 months

Monday 16th April 2018
quotequote all
Isn't just a case of sorting by column B then subtotalling when there's a change in column B?

br d

Original Poster:

9,072 posts

257 months

Monday 16th April 2018
quotequote all
I see. I've grabbed this info from another program, I'm a complete novice with excel.

So if I sum each total in a cell to the right of my info I could add all the costs in the original row then subtract all the costs in the summed row so I will get a total that includes all the single entries. I think. I'm probably being as clear as mud!

anonymous-user

85 months

Monday 16th April 2018
quotequote all
There is a sort function
There is also a subtotal function

If you go to help is should show you how to do it

You shouldn't have to do anything to the list as it is other than use the functions

Mr Pointy

13,455 posts

190 months

Monday 16th April 2018
quotequote all
Here's how to sort for a start:

http://www.excel-easy.com/data-analysis/sort.html
https://support.office.com/en-us/article/sort-data...

Once you have the list with the entries for each address next to each other it should be easy to sum the costs for each address.

rfsteel

757 posts

201 months

Monday 16th April 2018
quotequote all

oldbanger

4,328 posts

269 months

Monday 16th April 2018
quotequote all

timetex

688 posts

179 months

Wednesday 18th April 2018
quotequote all
Yep another vote for Pivot tables here...

mko9

2,997 posts

243 months

Wednesday 18th April 2018
quotequote all
You could also use the Filter function - same menu as Sort - so you could then filter to a particular address.

schmunk

4,399 posts

156 months

Wednesday 18th April 2018
quotequote all
A pivot table is the answer (as above) - just make sure the addresses are always input in exactly the same format, as otherwise they won't total properly.