# Thread: INDIRECT formula cell reference Thanks: 0 Likes: 0

1. ## Re: INDIRECT formula cell reference Originally Posted by steve the fish You need to be answering the question in post 6. I presume you are dragging right. So what is the formula you want in the cell next to the original to be? Put it here in exactly the same way as you did for the original formula but the cell to the right. I would need to know what needs to change from cell to cell.
I answered above

I need D6 to change to E6.  Reply With Quote

2. ## Re: INDIRECT formula cell reference Originally Posted by rlexcel101 I answered above

I need D6 to change to E6.
last bump  Reply With Quote

3. ## Re: INDIRECT formula cell reference

The reason I haven't replied is that you haven't given what I asked for. If I'm to know what you need I need to know exactly what that formula would look like if it was in the cell to the right in the same format as your opening post.  Reply With Quote

4. ## Re: INDIRECT formula cell reference Originally Posted by steve the fish The reason I haven't replied is that you haven't given what I asked for. If I'm to know what you need I need to know exactly what that formula would look like if it was in the cell to the right in the same format as your opening post.
So..

=SUMPRODUCT(SUMIF(INDIRECT(""&data&"!"&"A6:A6"),\$B12,INDIRECT(""&data&""!"&"D6:D6")))

Is my current formula.

-A6:A6 represents the lookup in each sheet
-\$B12 represents the criteria on the sheet where formula is
-D6:D6 represents the sum values on each sheet tab

So basically I need the ability for the D6:D6 to become cell references where I can drag and they become E6:E6, F6:F6, and then If dragged down then E7:E7, etc

Does that help?  Reply With Quote

5. ## Re: INDIRECT formula cell reference

So column A remains column A as you drag right?

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!A"&ROWS(\$A\$1:A1)+5),\$B12,INDIRECT("'"&data&"'!"&ADDRESS(ROWS(\$A\$1:A1)+5,COLUMNS(\$A\$1:A1)+3))))  Reply With Quote

6. ## Re: INDIRECT formula cell reference Originally Posted by steve the fish So column A remains column A as you drag right?

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!A"&ROWS(\$A\$1:A1)+5),\$B12,INDIRECT("'"&data&"'!"&ADDRESS(ROWS(\$A\$1:A1)+5,COLUMNS(\$A\$1:A1)+3))))
Thank you!

This worked. My next goal is to make this match off a drop down which I have no clue how lol ideally would like to match the drop down name against the same name on sheet tab.  Reply With Quote

7. ## Re: INDIRECT formula cell reference

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!A"&ROWS(\$A\$1:A1)+5),\$B12,INDIRECT("'"&data&"'!"&ADDRESS(ROWS(\$A\$1:A1)+5,COLUMNS(\$A\$1:A1)+3))))

So this might get crazy with above but is there a way to do a IF/MATCH type addition to this formula off a drop down?

So in this case:

- In C5 I have my drop down list and each names are identical to the tabs that are being rolled up. Say I just want to choose from drop for that specific name and then a Total drop down option as well?  Reply With Quote

## User Tag List

#### Tags for this Thread

cell, formula, indirect, sheets, text #### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•