I have a excel doc we use at work to create a schedule for our technicians.
Each sheet is a week, so the sheet names are Week 2, Week 3, Week 4.
Each technician number is listed in column B (3,4,5,36,53,91, etc)
Row 5 has Mon-Sun
The techs work schedule is in the appropriate cell. (8 to 5, 10 to 7, Vacation, etc)
I want to count the number of shifts for each tech each week, with a running total for the year. It was easy to do it on each sheet with a simple countif formula. But The problem comes when I want to count them for the whole year.
I tried creating a "stats" sheet and make vlookup formulas to call the data from each weekly sheet. But with all the techs and shift types I want to count, it was like 40,000 cells. Excel wasn't able to calculate it, it had the "processing 0%" in the taskbar.
I thought I could use =sum(Week1:Week52!AZ6:BN50), which is where I have the counts from each weekly sheet. But my data is not always in the same spot on the sheet. Because of techs coming and going (new hires, people quit).
I am trying to create a table which will search for a name throughout several other sheets. All of the same format and layout but with different data. I then need to display information in a different column of the same row of the name I'm searching, just like vlookup.. I also need to be able to search for multiple entries with the same name, so there may be 3 different entries for John Smith thoughout the few dozen sheets.
I'm trying to create a VLOOKUP that will return a value in 'Tracking' from 1 of 4 different sheets. If the value isn't found in sheet 1, the lookup should continue to sheet 2. If not found in 2, move to 3 and so on. In cases where there is no value, I would like to return " ".
This formula returns values only in sheet 1. It won't continue to 2 and so on. Also, this will return a 0 for a blank value. If working as intended, 'Tracking' will show "g" in B2 and " " in C2.
I have an excel sheet that contains employee details (Emp. code, Name, Dept. & Shifts for the month) on one sheet (named Manpower) and their respective shifts on other sheets. The emp code in the manpower sheet should be looked up in the other sheets and the corresponding shift on the particular date should be returned. The problem is that since the sheets are arranged by departments the emp code has to be looked up in all the sheets till a value is returned.
I need to write a formula that looks for a value from column a, find the sheet with a matching value in cell e4 and returns the value of cell ac1 of the worksheet.
This formula will live in column b of the summary sheet.
Example:
Summary Tab
A B 1 19-Jul 19,000(formula result) 2 16-Jul 3 23-Jul 4 30-Jul
Data Tab 1
E AC 1 9-Jul 19,000
It will need to look in cell E1 of every tab in the work book (52 tabs) for the value found in $a1.
I have a list of cusips/numbers in one file and I need to see if this cusip/number is in another file which has three worksheets. So tried this formula and what is wierd that if the cusip is in the first tab it returns #N/A, but if it's the 2nd tab it returns the right answer but if it happens to be in the third tab I get "false" instead. Why only if it's in the 2nd tabe does it return a value? I would combine all of these worksheets but it exceeds the number of rows allowed in the version I have.
I'm pasting the formula...hoping someone can point out what is wrong. I'll break it up to make it easier to read.
I have a workbook that I'm preparing, that has several (appx 60) worksheets, each named for the location they refer to. I also have a summary sheet that highlights the key data/balances. On this summary sheet, I'd like to have certain data refer back to the individual sheets. For example, I have data set up:
Location 1 2 3 etc.
Each additional worksheet is named 1, 2, 3, etc. Is there a way to set up a formula that looks to the cell where it says '1' to direct Excel to the sheet named 1?
What I am trying to do is have the contractor name inserted into column B on Sheet 1 next to their respective project.
As you can see each project is only listed on Sheet 2 or 3, not both.
The VLOOKUP formula so far can return the correct name from sheet 2 or 3 but I do not know how to build it into a more complex formula/macro that will do the following: ....
I have made a spreasheet with 4 sheets. In the 4th sheet are 3 columns: IDCountryZone
There is a button on the first sheet, which when clicked produces an input box. I need the value in the Input box to return which zone that country is in based on the value of the Input Box. E.g. France to return Europe in a message box.
It is entered in Column B of the sheet Round 2. Basically what I want it to return is the lower price from two different sheets looking them up by part number. Also I guess something I didn't think of is that the HD Final Sheet will not contain all the parts...while the other sheet Round 1 will have all. In cases where the part number is not found on the HD Final sheet I want it to put the price from the Round 1 sheet.
I have Mac:2011 version of Excel. Here's what I'm trying to do... I have 5 sheets, 1 for each week of a typical month, and then a 5th sheet in which I want to add cumulative values.
In the first four sheets, column A is the name of a person. Columns B through H are daily performance values. Column I is the weekly sum of columns B-H. I am sorting each of these first 4 sheets by column I, from highest-lowest; so a person's row position changes from sheet 1 through sheet 4, based on how well they did in comparison to other people.
I should also mention that a person may or may not appear in each sheet for weeks 1-4. They might be there in week 1, miss week 2, and be back for week 3 and 4, etc.
Now, in sheet 5, the 'cumulative values sheet', is where I'm having difficulty. Column A is again, where the names of people should go. Columns B, C, D & E are what I want to be the sum values from Weeks 1-4. And finally, Column F is a sum of these columns B-E, yielding a monthly total. Here's the logic of what I want to do...
Part 1:
Look at the name of the person in [Sheet 1:Column A through Sheet 4:Column A]... If a person's name from [Sheet 1:Column A through Sheet 4:Column A] doesn't appear in sheet 5, column A, copy that name to sheet 5, column A. Otherwise, move on to part 2...
Part 2: Look-up the week 1 value of the Sheet 5: Column A name, from sheet 1, and copy the associated sum value of that name (sheet1:column I) to Sheet 5:Column B. Repeat for Sheet/Week 2 value to Sheet 5:Column C... Week 3 to Column D, and Week 4 to Column E...
And finally, sum the values of Sheet 5, Columns B-E to column F. Sort highest-lowest.
No issues with the summing function, but I'm not sure the best way to achieve 'Part 2'. I've been fooling around with VLOOKUP, and have had some success with =VLOOKUP(A2,Week1!A2:I26,9) for column B, =VLOOKUP(A2,Week2!A2:I26,9) for column C, etc... but it's only performing properly for my first row, and then I mostly get #N/A. So what am I missing? Or is there an alternate function that would achieve this in an easier fashion?
I have this one sheet (File 1) where I have the unique codes of people and am trying to perform a vlookup() for a value by specifying the lookup in a dfferent workbook (File 2) but multiple sheets. In other words the data (unique codes) is scattered in different sheets in that workbook (File 2). I need to perform a vlookup() wherein the codes finds a match in whichever sheet in File 2 and the value in the specified column be entered against the respective cell in File 1.
I tried selecting all the sheets in the formula but it does not return a value for all the inactive sheets in File 2. Vlookup() works fine for the Active sheet only.
Code: Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Intersect(ActiveCell, Sheet8.Range("C16:Y1000")) Is Nothing Then Exit Sub Dim rw As Integer Dim arw As Integer rw = 16
[Code] .....
As you can see, my code is located in the sheet8 worksheet object. Now, I have a few questions about this. Because I am located in the sheet8 worksheet object does that mean my code can only work in sheet8, i.e., the following won't work because I am in a Sheet8 worksheet object?
Sheet10.Range("B12) = ..... ....... .....
This is not returning a value in Sheet10? My question is how do I make my code return a value in Sheet10?
I have a workbook that updates from external source and creates sheets depending on a cell range.
I have put tab 1 and tab 0 on either end of where the new sheets will be inputted, will never know how many sheets
What i need to happen is if someone fills in "complete" in A7 in my "summary" sheet then the values in row 6 in all the other sheets get hardcoded. This needs to happen from A7 down to A26, so A8 = complete then copy row 7 etc This is what i have so far
I get compile error here ........Sheets(ArrSh(1)).Activate
Also need it to work for all the other rows.
Sub hardcode() ' 'Sheets("Summary"). Select If Range("a7") = "complete" Then ' Sheets(Array("1", "0")).Select Sheets(ArrSh(1)).Activate
I have a "main data"Test.xlsx sheet wherein I have to populate 4 columns from 2 other sheets.
E.g.: In master data tab, I have (PID,EMP ID,Name,Address,Join Date, Exit Date). Now i am trying to get the PID & Address from another tab called "PID,Address". To get the PID & address, i will use EMP ID as reference to fetch data.
Similarly, I have to pull Join & Exit dates from the tab "Dates Sheet" with same EMP ID.
I have a home tab, wherein I have a button which is assigned a macro to reconcile the data.
I know that I can do this with simple vlookup for all the columns, but the actual data is very huge and it may vary daily. So its time consuming process. So i want to this reconciliation (consolidation) using macro. How to generate a macro.
I think VLookup is what I need to use, but am unfamiliar with how to use it. The attached file will explain a little more about what I would like to do. I have an inventory summary from 2007 and 2008. Each year has its own sheet. Each record has two fields that need to match on the summary sheet. If the two fields match, the summary sheet should return a total in the third field. It's more clearly explained in the file itself.
What I'm trying to do is grab data from the raw data sheet and paste it into the master sheet based off of certain criteria. I want to list any accounts that are not correct.
For example, I want to look through the Raw Data sheet, find the account that contains campaigns which are not correct, and then list the name of the account on the Master sheet. I only need the account name listed once on the Master sheet.
- I have total of 13 sheets in a workbook - 12 sheets represent 12 months with data; 13th sheet is single sheet in which i would like to get complete overview of 12 months
- each of 12 sheets has actually sales results for multiple products with following data: internal code, manufacturer part number, name, and qty sold in that month
- situation is that some products have been phased out during the year and some were introduced so each sheet is slightly different in terms of in which row certain product is located
What i would like to achive is to make 13th sheet (whole year overview) do the following: - there is a list of all the products in it, each product has unique internal code - this code (from each line) should be used to find that code in each monthly sheet, then find its monthly sales value (copy it) and paste it in sheet 13 in cell that represents this product and particular month.
In other words i would like to see for each product what was monthly sales throughout this year, but avoid manually filling in qty for each product per month.
Can you use VLOOKUP or a similar formula to lookup and add (or even better average) multiple data from one sheet?. For example the source sheet holds certain codes for each of our agents and I need the total of one particular code for each agent and then eventually work out the average for the day. But as the source sheet can hold 30+ agents it would be a long and tedious job to do seperate Vlookup's (especially as we are backdating the last year!).
I have attached a snapshot of the source data to try to explain what I need better. From that source data I need to get the total/average of all the 101 codes.
I extract data from a system and originally it extracts it in one sheet. I would then use another list on another sheet and see if there is a match from the first sheet.
What problem i am having now is that the extraction from the system comes through in two sheets(because its too large) so my original VLOOKUP statement which was: =IF(ISNA(VLOOKUP(A2,cobject1,1,FALSE)),"No","Yes") only works for the one "sheet".
But now I have two sheets which hold the table "cobject" so i have named the first one "cobject1" and second; "cobject2". I figured out a way to do it but i would like the formula that i would need for me to use, for me to check the above match but from the two different "tables".
I have workbook with 12 worksheets (sample show only Jan and Feb sheets) from which I want to summary data onto a single Summary (see tab on worksheet) sheet. Each worksheet has three sections: Income, Expense, and Spending. From each of these sections I want to summarize data from columns: Description, Amount and Date.
For example, from Income section of all worksheets, I want Excel to look at the Descriptions column and total the Amounts for all items with the same description, that fall between two dates. Then Excel look at Expense section Description column and total the Amounts for all items with the same description, that fall between two dates. Then do the same for the Spending section.
The descriptions who's Amounts to be totaled cannot pre-exist on the summary sheet, so I need Excel to fine each unique description, list it once on summary sheet, then calculate the total. I’ve attached a sample file. The SUMMAY EXAMPLE sheet is what I would like the result to look like on SUMMARY sheet, but I’m open to a different layout.
I have an excel sheet with multiple tabs (Master, Sheet2, Sheet3, etc.). The Master sheet has a list of all current employee names in Column A and I want to add a Button to the sheet that will produce a message box to add a new name to the end of this list and after the last row of data on each subsequent tab (Sheet2, Sheet3, etc.). The problem I'm encountering is that the code I have requires me to select a cell and is just inserting a new row with the data on each sheet at the same point, so if I have row 14 selected the new entry is created at row 14 on each tab...
I have to write some VLOOKUP formulas to pull several items from a report, the problem is there could be multiple items for each lookup value as the example below:
Company Data ABC Monday ABC Friday ABC Thursday DEF Friday GHI Monday I need to reference every piece of data for every company but using the VLOOKUP formula, I am obviously only able to get the first instance of the lookup value (company ABC)
How to I write the formula to lookup the other data? The practical appliation I am using this for has anywhere from 300 to 400 lookup values.
I’m trying to develop a workbook which holds monthly data on loan information. It tracks the interest and balance on the loan. I want the first page to have a table displaying the interest payments for every individual tab. When I was brainstorming the idea, I was considering a sort of Vlookup function to find the tab the account is on and then a further function, possibly another vlookup which connects the month to that month’s interest payment. Can anyone help me figure this out?
The attached spreadsheet is obviously simplified, there are well over 30 tabs. But I would like it to, ideally, search the account number column, search the workbook for that account number, and then when on that page use the month at the top of the first page and retrieve the interest payment and put it back in the cell. It’d also be great if the formula can be transferred between workbooks. I’m not sure if that makes sense; basically if I were to copy that worksheet into the next months book, I would like that the formula read those tabs instead of becoming obsolete due to references from the first workbook.
I'm working on a sheet trying to keep track on which client is working with which employee. The first sheet shows tracking for the year and each additional sheet is the month. Basically the Yearly sheet is there so I can quickly control+f "client name" and see which employee he or she is working with.
I attached a simple version of the workbook but basically it basically looks like this: Yearly sheet - Row 1 is the employees name, Row 2 is the month, and the rows after that are the clients name until it gets to the next month. January sheet - cell A1 says client, Cell B1 says employee. I'm inputing the clients in column A and the employee in column B and using this formula for the Yearly sheet (starting in row 3) =IF(January!$B2=Yearly!A$1,January!$A2,"")
This is working for what it's supposed to do, but it's not pretty and leaves a lot of of blank cells. Is there a simpler way of doing this?
I have a to do list on excel which spans 5 separate sheets (all within one file). I have given each item a priorty number e.g. 1, 2 or 3. I wanted to summarise on the first sheet how many priority 1s, 2s, 3s I have.
I want to consolidate the various employees' salaries of all months in a sheet. I enter salaries in different sheets month-wise and in each sheet, department-wise. Some employees get commission in various departments. Now, I need to see the details of an employee by giving his name. I should get month-wise his salary, commission and department in which he get commission, across all the sheets.