PLEASE HELP this is about sorting cells

ezteze

Board Regular
Joined
Apr 24, 2013
Messages
66
i basically need to know how to get the total vendor amount to move at least one of the vendors multiple name. for example if i sort by date the same name vendors won't be grouped which i don't mind all i need is for example if i sort the date you can see the vendor orly city sports wear has 4 invoices and next to the last invoice amount is the total of all the invoices together so after sorting the date how can i get that total vendor amount to stick to at least one of the lines of that vendor name like basically make it attached and also the 13,502.35 is generated from a formula =SUM(D8:D11) so some how the formula will need to change some how and follow the amounts to the cells they go to after sorting the date or wtvr


Workbook12014-01-3012-21-56.jpg
[/URL][/IMG]
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Ezteze,

Let say your data is in range A1:E1000, & column headings are in row 1 (A1-Date, B1- Vendor, C1-Invoice #, E1-Total Vendor Amount)
In Cell E1 enter this formula & copy down
Code:
 =SUMIF($B$2:$B$1000,B2,$D$2:$D$1000)
The “Bad” thing is (if you think this is bad) that same amount will be repeated for same vendor.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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