Excel cell referencing a variable sheet -


so have tab every month's worth of data, , have summary references current month's sheet. there way can put "april 2015" (this name of sheet) in cell a1, , have formulas like:

=countifs('(string in a1)'!$i$10:$i$149,b4,'(string in a1)'!$l10:$l149,"")

that way i'd have edit 1 cell , i'd know references correct whereas if 1 of formulas don't replaced, i'd referring month behind on 1 random cell , never know.

seems should simple, can't seem figure out how.

be careful preserve single quotes:

=countifs(indirect("'" & a1 & "'!$i$10:$i$149"),b4,indirect("'" & a1 & "'!$l10:$l149"),"") 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -