Adding ranges with "" and numbers

alkarkar

Board Regular
Joined
Sep 18, 2005
Messages
125
I have 10 worksheets from wich i want to add the range A2:W900 (10 times this range, one from each worksheet). Every cell in the ranges has formulas with : 'IF(...=..., "" , ...3...) , so every cell has "" or a number . I want to add this ranges-cells but i get #value! ( adding number+text?).I use copy-paste .Maby a macro with special paste will do my job? I can't figure it out. Help!
Alex
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
alkarkar said:
I have 10 worksheets from wich i want to add the range A2:W900 (10 times this range, one from each worksheet). Every cell in the ranges has formulas with : 'IF(...=..., "" , ...3...) , so every cell has "" or a number . I want to add this ranges-cells but i get #value! ( adding number+text?).I use copy-paste .Maby a macro with special paste will do my job? I can't figure it out. Help!
Alex

=SUM(Sheet1:Sheet10!A2:W900)
 
Upvote 0
Sorry , i wasn't clear enough.
I want in another worksheet (sheet final) to add in cell A2 the values of every A2 cells from the other sheets. The formula would be : Sheet1!A2+Sheet2!A2+Sheet3!A2+...Sheet10!A2. In B2 the result of adding sheet1!B2+sheet2B2+....... The same goes down to W900. As i test it now the SUM formula works (SUM(sheet1!A2,sheet2!A2...)) but i have to add it in many cells and my file is allready VERY large. Can i do the same recording a macro?
 
Upvote 0
I think your idea is good enough. I will record a macro in wich i will add in cell sheetfinal!A2 the formula : SUM(sheet1!A2,sheet2!A2,....sheet10!A2) and copy it down to W900. I guess this will do my job. Thanks ALADIN
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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