Compare Data from 2 Worksheets in Excel 2011 - excel

I have an excel workbook with 2 sheets of alphabetical business listings, one from this year and the other from last year. The 2012 listings have categories assigned to them, the 2013 ones don't.
I want to copy the categories from the 2012 listings to the 2013 listings that still exist. How would I go about doing this? I've done a lot of Googling about it and have come up empty as to how I would tackle this.
2012 Listings
Business Name Category
Business A Services
Business B Shopping
Business C Automotive
New 2013 Listings
Business Name Category
Business A Services
Business C Automotive
New Business ???
For the new businesses I need to manually decide what they fall under, but as it stands I don't even know which businesses need categories. There are a lot of other columns, but they don't really matter per say in this issue.
My experience with Excel is quite limited, so any hand holding you can provide will help. Thanks.

Assuming that your 2012 listing is in Sheet1 and the header row starts in A1, with a similar setup for 2013 in Sheet2. Then the following lookup formula, beginning in cell B2 (or another column), of Sheet2 will bring over the categories:
=VLOOKUP(A2,Sheet1!$A$2:$B$6,2,0)
If there was no category assigned in 2012 to a business listed in 2013, this formula will return a N/A error value showing that you need to assign a category.

Related

Formula or function for getting salesperson monthly sales average

Salesperson
JANUARY
FEBRUARY
SALES TYPE 1
'=January Ave
'=February Ave
SALES TYPE 2
'=January Ave
'=February Ave
I need help figuring out what formulas/nested functions I would use in the January and February average columns in the above table. The Excel document I'm working with has a tab for each sales person. In these tabs include the above table-like scorecard element.
I'm using the old "Sharing" feature of Excel which has a lot of limitations, you can't have tables in the document for example (experts, correct me if I am wrong about this) this is why I'm hoping to use a formula to get, calculate and input the data where it needs to go.
There is another tab where all the data is stored in a table-like structure. It has columns for the date of the sale, the ID of the sales person and how many sales were made on that day.
I'm also worried that too complicated of a formula being done 24 times in each sheet and there being a total of 50 sheets in the document, would this cause the document to lag? I'm reading on index match vs xlookup, I hear sumifs is easy but the file doesn't work as fast with that?
What formulas would you use? Any advice how to make sure the document runs smoothly when users use it? Any advice here is welcome. Thanks in advance for you patience.

Excel Attendance by Team

I have a list of people by team that I am taking attendance for. There are multiple teams (A, B, C, D, E, etc.), and multiple users (Amy, George, etc.). Some members serve on multiple teams.
I am trying to take attendance for our meetings, and so I have a list of the person and multiple columns with dates for the dates they attended (Monday, Tuesday, etc.)
I want this attendance to be by person, but I also want a list that's by their team - so if any of the three people in team A attend on Monday, I want team A to have a "1" for Present for Monday. I need a way to lookup which team a person belongs to, even if they belong to multiple teams, and then to mark a 1 for Present beside the name of that team if ANY of the members of that team were present on a particular day.
Thanks!
If one has OFFICE 365, after FILTER() is released by Microsoft(currently only available to Office Insiders):
=SUMPRODUCT(COUNTIFS(B$2:B$6,1,$A$2:$A$6,FILTER($L$2:$L$9,$A13=$K$2:$K$9)))
Until then one would need to use this array formula:
=SUMPRODUCT(COUNTIFS(B$2:B$6,1,$A$2:$A$6,INDEX($L:$L,N(IF({1},MODE.MULT(IF($K$2:$K$9=$A13,ROW($K$2:$K$9)*{1,1})))))))
Being an array formula one must confirm with Ctrl-Shift-Enter instead of Enter when exiting edit mode.

Dynamic rotating work schedule excel

I have a pretty tall order here everyone,
I'm trying to make a rotating sanitation list for the remainder of the year for 3 teams.
I want the sheet to auto assign team members job areas (Rooms;columns B,C,D) based on the days of the week the work.
Members of Team 1 can only be assigned any Room Mon-Fri
Members of Team 4 can only be assigned any Room Sat-Tues and are the preferred team for Sundays
Members of Team 5 can only be assigned any Room Wed-Sat and are the preferred team for Saturdays
Each day in column A will have 3 (columns B-D) different employee ID's in each area(Room)
I want the sheet to keep everyone evenly spread out in terms of occurrences and for everyone to work all 3 sets of rooms.
As an added challenge, i would like to be able to add or subtract employee ID's to and from each team and have the sheet auto adjust.
I have a formula in column B that shows what I am trying to do, but it was from another person's work and I having trouble adapting it to my needs. Basically columns B,C,& D need the formulas.
This is the formula in Cell B3 and I just copied it down
=IF(OR(WEEKDAY($A2)=1,WEEKDAY($A2)=7),IFERROR(INDEX(Team1,MOD(MATCH(OFFSET(B2,IF(WEEKDAY($A2)=5,-5,-5),0),Team1,0),$U$2)+1),$G$2),IFERROR(INDEX(Team1,MOD(MATCH(OFFSET(B2,IF(WEEKDAY($A2)=2,-3,-1),0),Team1,0),$U$2)+1),$G$1))
The teams are set up in 3 separate columns using named ranges. I am not sure how to type the above formula to include all three teams and also get the formula to use Team 4 on only Saturday-Tuesday, Team 5 on only Wednesday-Saturday and Team 1 only on Monday-Friday.
I really wish I could upload this sheet for everyone to take a look at.
Thanks for any help I can get on this!
Answered from another forum and works perfect..no need for VBA
This proposal makes a few changes to the arrangement of the Team's
tables. This proposal also adds a helper column (E) which may be moved
and/or hidden for aesthetic purposes and is populated using:
=IF(WEEKDAY(A2,16)=1,IF(COUNTIFS(E$1:E1,4)<
COUNTIFS(E$1:E1,5),4,5),IF(WEEKDAY(A2,16)=2,IF(COUNTIFS(E$1:E1,5)<
COUNTIFS(E$1:E1,4),5,4),IF(WEEKDAY(A2,16)<=4,IF(COUNTIFS(E$1:E1,4)<
COUNTIFS(E$1:E1,1),4,1),IF(COUNTIFS(E$1:E1,5)<
COUNTIFS(E$1:E1,1),5,1))))
The room 4 column is populated using:
=INDEX(H$5:L$22,IF(MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2))=0,COUNTIFS(I$5:M$22,E2),MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2))),IF(E2=1,1,IF(E2=4,3,5)))
The room 5&6 column is populated using:
=INDEX(H$5:L$22,IF(MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2))=0,0,MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2)))+1,IF(E2=1,1,IF(E2=4,3,5)))
The room 7&8 column is populated using:
=INDEX(H$5:L$22,IF(MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2))=COUNTIFS(I$5:M$22,E2)-1,1,IF(MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2))=0,0,MOD(COUNTIFS(E$2:E2,E2)+2*(COUNTIFS(E$2:E2,E2)-1),COUNTIFS(I$5:M$22,E2)))+2),IF(E2=1,1,IF(E2=4,3,5)))

Match one sheet figures with another on excel

Okay as you can see from the below screenshots. I have got 3 sheets in excel. 2014, 2013 and comparison. Basically in the comparison tab I intend to compare figures from 2014 with 2013 for several sites for my business. So if you check the "comparison" image you will see initials of where my business sites are located accross the UK, eg ABZ = Aberdeen etc. and I am analysing the revenue, cons and weight per week for every site, so as you can imagine quite alot of information. I have condensed it for this example.
But is there a formula that will allow me in the "comparison" pic to key in all the information from the "2014" , "2013" information without having to manually sit there and add the formala ='2013'!c5 wich gives me the value for the 1st week for revenue but if i want it for week 2 I have to change the formula manually to ='2013'!c13 . Check images for clarity.

How Do You Subtotal with Autofilter in Excel?

I am currently working on an Excel sheet of list of people working in a company.
The company has multiple teams and multiple positions and I've listed them all in an Excel sheet (I am using Excel 2007). And because the positions and the list of people may differ on daily basis (based on who gets promoted or fired) I had to make date column and place a filter on the "date", "position", and "team".
Now I want to make it so that I filter it out for, let's say, year = 2011, position = team manager, team = information tech. team.
I have managed to get this far on my own but now I am wondering when I filter this out (out of 700+ lines), based on the position or team name, if I can add the total number of people under the same team or same positions.
For example, if there are 10 people under information tech. team, can I make it so it displays "total number of people = 10", without me having to count each one of them by hand when I apply the filter?
Also, if there are 4 people under information tech. team as the manager, it would show that "total number of managers under IT team = 4".
Are there any commands or methods I can use in Excel to do this?
Enter the following in the cell you want it in, and it will change, as per this link:
=SUBTOTAL(3, C2:C1000)

Resources