Vlookup the right Formula?

menor59

Well-known Member
Joined
Oct 3, 2008
Messages
574
Office Version
  1. 2021
Platform
  1. Windows
So for example...

In Column AN6:AN1063 I have a list of Cities with NF and F after the names. In Cell AO6:AO1063 I have Dollar Amounts

example

AN6:AN1063 AO6:AO1063
Albuquerque F -$258.16
Albuquerque F $264,166.81
Albuquerque F $18,107.28
Albuquerque F $2,352.53
Austin F $3,636.00
Austin F $579.43
Austin F $12,100.00
Austin F $124,664.69
Beaverton NF $1,425,875.81
Beaverton NF $195,266.05
Beaverton NF $84,152.53


What i need to have happen is in AA6 give me the subtotal of all instance with that city name. In this example

AA6 AA7
Albuquerque F $284,368.46
Austin F $140,980.12
Beaverton NF $1,705,294.39

it should be noted that i have over 60 cities in AN6:AN1063 with dollar amounts next to it.

I just need to subtotal all the offices amounts but one office may have 40 rows...I hope this makes sense!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How would it be wirtten....im not excel savy with pivot tables?
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,706
Members
452,939
Latest member
WCrawford

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