Hi there. I work for an insurance company and have previously been asked to produce a report showing total premium per business type. Last time I did this by scrolling down the list of data manually, then copying the business type with an auto sum in the column next to it.
Here's the sort of data I have:
319.56 BAKERS
260 BAKERS
407.81 BAKERS
360 BEAUTY SALON
280.15 BEAUTY SALON
0 BEAUTY SALON
625.44 BEDS RETAIL
293.61 BEDS RETAIL
490.66 BEDS RETAIL
403.92 BRIDAL WEAR
333.32 BRIDAL WEAR
390.42 BUTCHERS
640 CAFE
224.76 CAFE
390 CAFE
0 CAFE
0 CAFE
0 CAFE
460.87 CAFE
262.5 CAFE
557.82 CAFE
543.48 CAFE
262.5 CAFE
270 CARDSHOP
0 CARDSHOP
0 CARDSHOP
219.05 CARDSHOP
356.4 CLOTHES SHOP
260.63 CLOTHES SHOP
273.35 CLOTHES SHOP
265.08 CLOTHES SHOP
288.6 COFFEE SHOP
260.95 COFFEE SHOP
I've tried to write a macro that cycles through this to do it automatically but haven't been successful.... Can anyone help me out?
Here's the sort of data I have:
319.56 BAKERS
260 BAKERS
407.81 BAKERS
360 BEAUTY SALON
280.15 BEAUTY SALON
0 BEAUTY SALON
625.44 BEDS RETAIL
293.61 BEDS RETAIL
490.66 BEDS RETAIL
403.92 BRIDAL WEAR
333.32 BRIDAL WEAR
390.42 BUTCHERS
640 CAFE
224.76 CAFE
390 CAFE
0 CAFE
0 CAFE
0 CAFE
460.87 CAFE
262.5 CAFE
557.82 CAFE
543.48 CAFE
262.5 CAFE
270 CARDSHOP
0 CARDSHOP
0 CARDSHOP
219.05 CARDSHOP
356.4 CLOTHES SHOP
260.63 CLOTHES SHOP
273.35 CLOTHES SHOP
265.08 CLOTHES SHOP
288.6 COFFEE SHOP
260.95 COFFEE SHOP
I've tried to write a macro that cycles through this to do it automatically but haven't been successful.... Can anyone help me out?