progress a column range when copying

ratchet1369

Board Regular
Joined
Mar 16, 2009
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I'm using a =countifs() to count how many students got an answer right on a quiz. In my submission table, the answer to question 1 is in column G and the answer to question 2 is in column H and so forth. When I copy the formula down (vertically), the column (initially G) isn't progressing to H, I, J, and so forth. I'd like it to progress to the next letter automatically rather than update 37 formulas.

=countifs('sheet1'!G:G,'Sheet2'!$B2)

The row for B2, moves on to B3 since I'm copying down but the G:G remains constant. I was trying a =row() to get the G:G to progress through the alphabet but that returns a number value.

Appreciate the help or link to the answer for a prior post. I wasn't able to find a prior post.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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