Powerplaya
New Member
- Joined
- Jan 9, 2022
- Messages
- 1
- Office Version
- 365
- 2021
- 2019
- 2016
- Platform
- Windows
What’s up my power peeps,
I need help on building a sum product formula in excel using a combo of different cell values and hard coded text.
Example.
Changing the date in a6, I extract what year it is in a1, what month in a2, and I hard code the rest of the path name to find my sheet on my server to pull the sumprodct formula
Example.
=iferror(sumproduct(- -(‘c:\home\a1 & “hard coded filename”\a2 & a1 &”hard coded filename”\[a6&”.xlsx”]tab’!$b$6),””)
So my formula is looking into my server files for the combined hard coded and cell values for the path, and if the file isn’t made yet, I used the iferror to show a blank.
Does this need a VBA? I tried almost everything I can think of.
Thanks guys!
I need help on building a sum product formula in excel using a combo of different cell values and hard coded text.
Example.
Changing the date in a6, I extract what year it is in a1, what month in a2, and I hard code the rest of the path name to find my sheet on my server to pull the sumprodct formula
Example.
=iferror(sumproduct(- -(‘c:\home\a1 & “hard coded filename”\a2 & a1 &”hard coded filename”\[a6&”.xlsx”]tab’!$b$6),””)
So my formula is looking into my server files for the combined hard coded and cell values for the path, and if the file isn’t made yet, I used the iferror to show a blank.
Does this need a VBA? I tried almost everything I can think of.
Thanks guys!