I need to create a list of names based on associated dates from another book.
For example, say a list of people need a car by a certain date, and I have a list of cars and the dates they are available, how can I generate a list of all the cars that will be available for each person?
customer
cars
Final output
It does not need to be presented as I have shown, thats just the idea.
It would be even better if following on the list could break down and say "car available 7 months in advance" , "car available 6 months in advance" etc.
Try this formula
=TEXTJOIN(",",TRUE,FILTER($F$2:$F$5,$G$2:$G$5<=B2,"No Car Available"))
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)))
My data are in the following format:
This information is regarding accounts that have been outsourced to a collection agency. As you can see, we have multiple rows for each agency, and multiple rows for each date in which those accounts were withdrawn and assigned. For example, the first agency, Bob Agency, was assigned on 3/12/15, withdrawn on 6/12/15, and assigned to Carla Agency on 6/30/15. Each agency is shown in a different column, and the first two corresponding columns in "Agency Date" refer to their assignment and withdrawl. If the cells are blank, that means that the accounts have not been withdrawn/assigned respectively.
I want to calculate the difference in days between when the account is assigned to any given agency, and the date of the most recent assignment. So using the previous example, the difference between 6/30/15 and 3/12/15.
My problem is that I can't work around the blank dates. Some accounts have multiple assignments and withdrawals, and others have just one.
Thank you for your help!
Assuming column L is empty, place this formula there:
=IF(MAX(G2:K2)=0,TODAY()-F2,MAX(G2:K2)-F2)
It will calculate the most recent assignment date and subtract it from the initial date. If no re-assignment date is there, it will use today's date.
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.
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)