mulitple formulas linking to a different workbook efficiently?

collexcel

New Member
Joined
Dec 29, 2017
Messages
1
Hi All,

I have somewhat recently stepped into a role and the person who had the post before me did reporting in horribly archaic ways - that I am trying to duplicate as my company doesn't use pivot tables. I could use some help.

I am trying to build out this template for 2018 to links to weekly data files as the files are saved. Example of the formulas below:

[TABLE="width: 1790"]
<tbody>[TR]
[TD]=IF(ISERROR(SUM('S:\XXX\XXX\Weekly Sales Data\2018\[XXX DEPT Y- WE 02-10-18.xlsx]1262_1400_rmspmail_1_12242017'!$J:$J)),"",SUM('S:\XXX\XXX\Weekly Sales Data\2018\[XXX DEPT Y- WE 02-10-18.xlsx]1262_1400_rmspmail_1_12242017'!$J:$J))[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]New files are saved weekly as they come in and I have to update six columns for each week with the new formula and different source locations - i.e. sum column E, sum column J, etc. etc.[/TD]
[/TR]
</tbody>[/TABLE]

First question: Does anyone know a way to easily get the weeks to replace in a formula? I couldn't find a work around so I broke the formula into pieces and concatenated the date into the formula for each week of 2018.

- This caused an issue that I copied, pasted special values however now I have over 300 cells that read the formula written out.

- When I click in the cell and then click out again, the text will disappear and it becomes a functioning formula

Second question:

Is there an easier way to make these cells all formulas than having to click each one individually?? I tried replace "=" with "=" but it still prompts me to replace one at a time even if I click replace all. I also have tried text to columns because I saw someone suggested to delineate by tab but I do not have this issue.

Third Question:
Out of curiosity, does this formula make sense to you guys? In all the reporting I've seen he has the formulas duplicated twice (like how the sum formula is above twice) and I just don't understand why that would be rather than just using IFERROR. Isn't this essentially saying if there is an error return 0, but then check again?

Thanks! Happy New Year everyone.

C
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Answer 1:
I believe a VBA solution will be better for this but will take some time to think of

Answer 2:
See answer 1

Answer 3:
Yes you are correct, this will also work with an iferror like so

=IFERROR(SUM('S:\XXX\XXX\Weekly Sales Data\2018\[XXX DEPT Y- WE 02-10-18.xlsx]1262_1400_rmspmail_1_12242017'!$J:$J),"")


 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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