Link to home
Start Free TrialLog in
Avatar of Kim Patton
Kim Patton

asked on

Need Excel to Return A Different Value

I have an employee who has worked across multiple locations.  I need to return data (hours, sales) etc, but only for stores that are not her home store.

I have attached a sample. First sheet is home store. Second sheet includes employees who worked at multiple stores.

I need to return the data NOT at home store.
ExcelHelp.xlsx
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

I think you can use the COUNTIFS and SUMIFS function to specify multiple criteria to your summary. One of those criteria will be (in plain speak) "STORE DOES NOT EQUAL HOME STORE".

Syntax for SUMIFS is:

=SUMIFS(SumRange,CriteriaRange1,Criteria1,CriteriaRange2,Criteria2....)

Syntax for COUNTIFS is very similar, except don't need the SUMRange:

=COUNTIFS(CriteriaRange1,Criteria1,CriteriaRange2,Criteria2....)

To indicate a "NOT EQUAL TO" you would use " "<>"&CellReference "  without the outer set of double quotes.
So with your sample, Samantha Dixon's home store is 300. On the duplicate sheet she has also worked at store 1790. Is that the data that you are trying to determine?

In the sheet, you have store 300 as a number and as 0300 preceded with an apostrophe making it text. Are they the same salon?
ASKER CERTIFIED SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Rob Henson (https:#a41818207)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

frankhelk
Experts-Exchange Cleanup Volunteer