change column letter in formula with drag down

rubertu_22

New Member
Joined
Apr 26, 2011
Messages
9
Hello,

This is the formula
=SUM(B12+B16+B26+SUM(B27:B33)

What i've been trying to do is as I drag down the column to have the formula change to =SUM(c12+c16+c26+SUM(c27:c33) and so on.

Basically is what happens we drag to the right we get an increment on the column letter, but I want it when I drag down
 
Try

=SUMIF(A$1:A$10,"Total*",INDEX(B$1:D$10,0,MATCH(Q2,B$1:D$1,0)))


Excel Workbook
ABCDEPQ
1JaneiroFevreiroMarcoControl
2Some tag34533334Janeiro
32340Fevreiro
4Total 1100579579Marco
5
62345
733234
8Total 233234
Sheet2
 
Last edited:
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Thanks for the help jonmo1, you guys are awesome. Need to dig deep into excel again. Any problems, I know where to come, and who to recommend. The last post worked perfect.

Thanks again.
 
Upvote 0
All the earlier resonses were trying to work without the knowledge of your headings/labels in row 1 and column A. Perhaps you can now see that giving all the information about your layout and data is likely to produce a better outcome from the forum. ;)
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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