array function across sheets

EngMarine

Board Regular
Joined
Jul 14, 2014
Messages
51
hi all

i have 31 sheets in my excel file and i want to sum the results from this function when applied on each sheet

OK to be more clear i have values of 1 to 31 written in cells from M6 to AQ6

i used to sum the formulas by repeating them and change the $M$6 to $N$6 and "1" to "2" .... etc

example:

=IFERROR(VLOOKUP($C14,OFFSET(INDIRECT($M$6&"!"&ADDRESS(MATCH($C14,'1'!$C:$C,0),3,4,1)),,,,100),MATCH(G$12,OFFSET(INDIRECT($M$6&"!"&ADDRESS(MATCH($C14,'1'!$C:$C,0),3,4,1)),,,,100),0)+1,FALSE),0)
+IFERROR(VLOOKUP($C14,OFFSET(INDIRECT($N$6&"!"&ADDRESS(MATCH($C14,'2'!$C:$C,0),3,4,1)),,,,100),MATCH(G$12,OFFSET(INDIRECT($N$6&"!"&ADDRESS(MATCH($C14,'2'!$C:$C,0),3,4,1)),,,,100),0)+1,FALSE),0)
+......etc up to 31 sheets

it's very long and painful method to sum and it takes a lot of time if i want to edit it

so is there any way i can array this function across the 31 sheets in one move ?

and i'm sorry to say i don't need macros :(

thanks in advance

have a nice day
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Isn't each sheet laid out the same way? If so, what would the ordinary VLOOKUP formula for the first sheet alone?
 
Upvote 0
You seem unconvinced. What is asked (already twice) informs the would-be helper about the ranges involved for crafting the formula you possibly need.
 
Upvote 0
You seem unconvinced. What is asked (already twice) informs the would-be helper about the ranges involved for crafting the formula you possibly need.

Sorry for late response ....
if I understand u well ... the aim of this formula is to get value which lay in same row in front of two variables. ...if possible u can send my ur mail so I can send u my work sheet
 
Upvote 0
Sorry for late response ....
if I understand u well ... the aim of this formula is to get value which lay in same row in front of two variables. ...if possible u can send my ur mail so I can send u my work sheet

No need for a sheet. You have 31 sheets, named 1, 2, 3, etc. which are listed in M6:AQ6. Right?

I just want to know (A) the range of the table in sheet 1; (B) the VLOOKUP formula that you would use to summarize the table in sheet 1.
 
Upvote 0
No need for a sheet. You have 31 sheets, named 1, 2, 3, etc. which are listed in M6:AQ6. Right?

I just want to know (A) the range of the table in sheet 1; (B) the VLOOKUP formula that you would use to summarize the table in sheet 1.


yea i have 31 sheets named from 1 to 31 from M6:aq6

the vlookup formula is
VLOOKUP($C14,OFFSET(INDIRECT($M$6&"!"&ADDRESS(MATCH($C14,'1'!$C:$C,0),3,4,1)),,,,100),MATCH(G$12,OFFSET(INDIRECT($M$6&"!"&ADDRESS(MATCH($C14,'1'!$C:$C,0),3,4,1)),,,,100),0)+1,FALSE)


  • the function is to look up for the value which in the same row with the text in C14 and text in G12 Cell
  • the range is defined by offset function which make the vlookup range the row in front of the value in C14 ( in this case the look up range is C15 : CT15
  • G12 Cell may located in 3 different columns, that's why i defined the column number ( in vlookup function ) with Match function

it's complicated function it took me like 1 hour to do it
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,428
Members
449,083
Latest member
Ava19

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