Solved

Need Excel to Return A Different Value

Posted on 2016-09-27
4
35 Views
Last Modified: 2016-11-06
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
0
Comment
Question by:Kim Patton
  • 3
4 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41818173
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.
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41818193
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?
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 41818207
I have been trying the above and it does not seem to recognise the "<>" criteria, bizarre!!

I have gone the other way instead, add up all and deduct those that are at home store.

Formula for cell C3 in sheet 300:

=SUMIFS(Duplicates!C:C,Duplicates!$B:$B,$A3)-SUMIFS(Duplicates!C:C,Duplicates!$B:$B,$A3,Duplicates!$A:$A,$B3)

Strictly speaking the first SUMIFS in that could be just SUMIF as there is only one criteria but left as SUMIFS for consistency.

With the $ column locking, you can copy that across to column D. For the formula in column E copy column C or D to column G and then cut and paste back to column E.
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 41875973
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
0

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question