• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

Formula I'm using

Why is my formula not working?  Please be specific, and explain why so I can apply on my own going forward.

Thanks
Book2.xlsx
0
Pete Edwards
Asked:
Pete Edwards
  • 2
  • 2
1 Solution
 
NorieVBA ExpertCommented:
You can't refer to multiple worksheets/ranges like this.

501105'!$C$2:$C$200","30163-001AE'!$C$2:$C$200","30382-001AB'!$C$2:$C$200

What are you trying to calculate with the formula.
0
 
ProfessorJimJamCommented:
I also did not understand the requirement.

not sure if this works . untested  see this formula =SUMPRODUCT(SUMIF(INDIRECT("'"&workorders&"'!"&CELL("address",C2)&":"&CELL("address",C200)),A16,INDIRECT("'"&workorders&"'!"&CELL("address",D2)&":"&CELL("address",D200))))
0
 
Pete EdwardsAuthor Commented:
All,

I have had an expert previously have it work for me.

Please see attached.
EE-Formula-III.xls
0
 
NorieVBA ExpertCommented:
Oops, my mistake.

Try this, you were missing a single quote in front of the sheet names.

=SUMPRODUCT(SUMIF(INDIRECT("'"&workorders&"'!$C$2:$C$200"),A16,INDIRECT("'"&workorders&"'!$D$2:$D$200")))
0
 
Pete EdwardsAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now