I have a row of dates, with variable start date, each being one week apart, starting in cell T5 (say T5 = 4/12/06, U5 = 11/12/06, V5 = 18/12/06 etc). The last date is in cell AE5. I wish to loop along the range and find the date that today’s date (say 21/12/06) falls in (answer = 18/12/06). And enter that date in cell Q2.
In my workbook I have multiple sheets but I'm attaching a very simple workbook to demonstrate what I'm trying to accomplish. In my "Lookup" tab/sheet. I want to have known Latitude and Longitude data that will exist in columns A&B. Columns C & D will have address numbers and Street Name. I would like my lookup formula to find the longitude and latitude data from my "lookup" sheet, when the matching address information is typed in, in my 2009 sheet. I have to keep the street numerics and street name separate on this worksheet as well. I believe I'll need two separate lookup formulas as I need these formulas to start in cell G4 & H4 in my "GeoCoding1" sheet. Is it possible to have four columns of data to be viewed in a lookup formula? I tried this formula in cell G4 (GeoCoding1 sheet)
In column A, I have dates; In column b i have security levels. I have made a table called "Security" it contains to columns, a list of security levels and no of years when each security level is required to be reviewed. the table is setup -
d1 e1 Restricted 5 etc
Example of data ie. a1 b1 c1 Restricted 1/06/2012 1/06/2017
What I am looking for is a formula to look up a1 "restricted". then lookup the security table and find "restricted" its value is 5 (years) then add the 5 years to date in b1, but place it in c1.
I have a table with three columns. I'm building a calendar on a separate worksheet and am looking up the "value" based on a calendar date. So if a date falls within any of the ranges, I'd like to return the value in column C. For example, if the date is 02/07/12, I'd like for the result to be value 1, or if the date is 04/17/12, then I would like the result to be value 3. I've used a nested vlookup, but all that give me is the value when either the start or end dates match, but I can't get a value when the date falls within the range. If the dates were consecutive, I would simply use vlookup/TRUE, but the dates are not consecutive.
I'm sorting through a list of business executives and trying to classify them by their titles to sort them into functional areas, but I'm ending up having to use just a giant nested IF statement, and there has to be a better way of doing it.
Not everyone has a uniform title, so I'm using FIND to look at the title and find particular search strings. Basically it's this, over and over again:
I have a formula in a worksheet that lists equipment in inventory. It looks at another worksheet of service work orders and verifies that, if work was done on a particular unit, do a look up and post the latest meter reading recorded on a work order for that unit.
My formula works fine unless the latest work order doesn't have a meter reading posted yet, so it returns a zero - overwriting any previous meter reading that was stored there.
I have a distance grid with place names down column A and along Row 1 with distances in the middle. I then have a place name in cell A1 on sheet2 and a distance in cell B1 on sheet2. Ideally I want cell C1 on sheet2 to lookup the place in cell A1 on Row1 of the grid on sheet1 and then find the distance in B2 in that column before displaying the correspoding value from Column A on sheet2. I've tried various Match and Index functions with no success.
This is so hard to explain so see my example and my attachment. example: If "314A" is in column A and "4031" is in column B then return the value in column G.
I want to create a formula that I can place in D1 that looks at the table below and finds the last instance of the number 1 and returns the value of 600,000.
I have 40 or so case studies on one worksheet. Each case has four columns- the first is the year, and the next three are values for that year. Each study is 140 years long, but they don't all start in the same year. What I want to do is pluck all the values from the fourth column of each study, and total them up for each year.
I have a column with 11 different numbering schemes that go from 736466.01 through 736466.11 In the group from 736466.01 through 736466.07 I need to have the adjacent column look to those cells and if it finds 736466.01-.07 return "CM" if it is 736466.08-.11 I need it to return "TC". I created the formula below but it doesn't like something I have done unless I change the format of the 736466.xx to text. Anything other than 736466.01-.11 should return a "null" or "void" Can you help me improve this formula, or show me a better way of creating it?
I have scoured the Excel boards but cannot find what I am looking for. Need to do a formula approach (No Pivot Table) lookup on a dynamic table that is not necessarily in order and may have blanks in some cells or whole rows. What I would like Excel 2003 to do is report (extract) the all first occurrences of each organization number that has at least one person with a "Yes" in a corresponding column in the same row. I also need the number of persons that have "Yeses" in each of those identified Org Nos .
Data is laid out as such:
Org No. Name Not in Compliance 8631Steve Yes 8631David 8631Nick 8631Tom 8631Susan Yes 8701Peter Yes 8701Diane Yes 8701Mary Yes 8879Don 8879Bernie 8879Wayne 8900David Yes
The answer is
In one row list the org #'s not in compliance ("Yes"). In the row just below it the number of persons:
86318701 8900 2 3 1
I have a helper column that counts the number of unique org nos, but cannot tie that to those that have Yes in the other column.
In column before Org No i have =IF(COUNTIF(b$33:b34,b34)=1,MAX(a$33:a33)+1,"") copied down.
I have a Workbook(wb1) that pulls information based off of IF(and( and vlookups from multiple other workbooks(wb2 thru wb12). Is there a way the member typing in wb2 - wb12 able to change the Tab name one each sheet? Since the formulas i use use the tab name on the sheets for referencing. I'm hoping to do the example with out any user input.
Columns F looks at another table within the same worksheet for the Customer Code that has the MOST Orders in Column B.....then places the Tot Orders amount in F2..... Cust Codes in Column E and the Cum Values into Col G ( that's already been accumulated and housed in column C ).
Cell F3 then go looks up the next largest order in Column B and pulls over the adjacent Customer Code & Cum Value to the E,F,G table again.
Basically there's 3 functions: 1 in E2 1 in F2 1 in G2 All to copy downward within that table
******** ******************** ************************************************************************>Microsoft Excel - Book4___Running: xl2000 : OS = Windows Windows 2000 (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1= ABCDEFG1CustomerTot*OrdersCum*Value.CustomerTot*OrdersCum*Value2Cust*682$943.Cust*682$9433Cust*973$787.Cust*973$7874Cust*1055$525.Cust*1055$5255Cust*840$438.Cust*840$4386Cust*125$150.Cust*125$1507Cust*27$300....8Cust*55$180....9Cust*43$75....10Cust*31$25....11Cust*71$12....Sheet1* [HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
on sheet 1 I have a list of race car numbers (20K, 15W, 2) in A1:A50 (may be more or less than 50) Next to them in B1:B50 are the point values they earned for a night of racing. 100-97-94 etc.... these are points they have earned for a night of racing that week. in C1 I have how many column over I need to write to (ex. 4 for Column "D" on sheet 2)
On sheet 2 I have all the total for each week. example A1 B1 C1 Car 4/22 4/29 20K 94 90 15W 97 100 ......
What I need is some code to go down the driver list on sheet1 and write their points in colum D on sheet 2 when it finds the appropriate car number. If the car number does not exist then add the car to the bottom of the list (A50) or whatever, and write the points 4 columns over.
I have 40 or so case studies on one worksheet. Each case has four columns- the first is the year, and the next three are values for that year. Each study is 140 years long, but they don't all start in the same year. What I want to do is pluck all the values from the fourth column of each study, and total them up for each year.
Here's how the sheet is set up- row 6 is a header row with four repeating column heads- year, value1, value2, value3. So year is in col A, E, I, M, Q, etc. up to FM. Value3, the one that I want totaled is in col D, H, L, P, etc up to FP. Each year column begins with a different year, (with some repeats) but each is 141 rows long, so that the first study begins in 1994 and ends in 2134, the second is from 1985-2125, the third is from 1991-2131, etc. I want excel to find all the value3's from 2007 and total them, all the value3's from 2008 and total those, up through 2145. The data range is A7:FP147. I tried adjusting some of the suggestions, but no luck. I was thinking I'd have column FQ with all the years 2007 on, and FR by the total of all the value3's from that year.
Index Match lookup formula does not find valid entries that exist in the lookup table. Formula: =INDEX(tbl_Costs,MATCH( F8,tbl_Costs_PN,0),MATCH("Cost",tbl_Costs_hdngs,0)). I've verified that the matching criteria and values are, in fact, in the table and have made double sure that all cells are formatted the same. the attached file and show me the error of my ways.
I have an issue with VLOOKUP. By runnig VLOOup we can get the data that there is present in a specified range. But how about to get the data DISPLAYED which is not there in the specified range. I tried combining IF and VLOOKUP functions. I am on a simple project now and I would be happy if I could get the answer immeidately
I'm trying to combine the hours that a employee worked on a single date, with one of multiple time periods that exist for that employee.
I have two sets of data. Set 1 (hours) Employee number, date, hours 12345, 1-2-2014, 6 12345, 1-3-2014, 8 12345, 1-10-2014, 8
Set 2 (periods) Employee number, start date, end date 12345, 1-1-2014, 4-1-2014 12345, 6-1-2014, 1-2-2014
What I'd like to do is to add the start and end date of Set 2 to Set 1 for every row in Set 1
In above example the result should be like this. 12345, 1-2-2014, 6, 1-1-2014, 4-1-2014 12345, 1-2-2014, 8, 1-1-2014, 4-1-2014 12345, 1-10-2014, 8, 6-1-2014, 1-2-2014
I have a workbook with 12 sheets. On the 12th sheet I need some VB to go to each of the other tabs and find the letter “E” or “H” in column F. Once the “E” or “H” is found in column F and a number =>9 is found in column E then copy that row from column A-F and paste this row to sheet 12. On sheet 12, I would like to be able to paste the row in a way that will hold the date in column A. The date can also be copied from each sheet found in cell E1. Also, the tab name has to be copied to sheet 12 with the row the E or H was found if “=>9 criteria” was met.
I have a bit of a challenge. You'll have to take a look at the attached files to understand what I am trying to do. I am asking for your advice. I am creating multiple spreadsheets (QPPcompany.xls) that will refer back to a master data(QPPdata.xls) file.
I am trying to figure out how to best set up the data file so that I can do lookups on the data from the referencing files. Here's the challenge. I need to be able to find in the data page the company name in Column A and then how many L's (or C's or P's) they had in a specified month. So for instance I need to be able to find the number 3 in cell E6 and place it in B15 of the referencing file. The required criteria for lookup are Company Name, Month and then L, C or P.
So my question is, is this possible with how my data file is currently set up? I think it may be a problem to have the month/year in row 4 refer to 3 different colums for each month (L, C and P). I don't mind making changes to the data file to make these lookups possible and I think it may be necessary.
Basically I'm trying to look up a series of numbers against a separate row of numbers and look for a match regardless or number order.
For example
If you look at the above picture I'm trying to do a query of some sort that will look up the numbers in A8:G8 in then search each row in the above table ie look for the numbers in B1:J1, B2:J2,B3:J3 etc I need to be able to search each row and look for the sequence of numbers regardless of order, if there is or inst a match for all numbers it should look at the next row and so on (maybe multiple matches). If there is a match then it should display the Name located in column "A" into cell G8. In this example to Jarrad row contains the numbers located in A8:G8. If there is no match it should display "None".
I'm trying to find any easy way to do this as I have over 500 rows I'm trying to query. The number's in A8:G8 in this example could also be more or less, ie here I have included 6 numbers but this could be 3 or 9 etc.
No matter what changes in this string, these four digits (9, 10, 11 & 12) will always be in the same position.
What I would like to do is (I think) use the FIND funtion and then perform a VLOOKUP against an already defined table/range which identifies the actual location in the destination cell. Will FIND be the easiest for me to do this our should I use something else?
The what to interpret characters 9-12 (using 3600820040030500050005271000 as an example):
3600820040030500050005271000
4003 is the location information which consistantly breaks down:
4 = Region Name 003 = Office / City (001 thru 024)
There are 7 possible regions with 24 possible Offices/Cities. I want to believe I can make this lookup happen using VLOOKUP tables that break them down - but I just don't have the brainpower to identify those 4 digits and then break them out for a look up.
I have collected some data on economic factors for different countries. Unfortunately, the dates when I started to calculated my economic factors are different for each country (due to the data available to me).
What I would like Excel to have done is to take the date when I started to measure for e.g. country A (D3 ie 30/06/2007), copy it into column "I" (for country A, it's cell I3) and fill in the following months in the rows below (with always the date of the last day of a month) until it reaches 28th of Feb 2013. Then, it should go up to the next country (country B) take the starting date (D4, ie 31/07/2007), go to the last entry in "I" (ie I71) and paste the date in, fill in the months until 28th of Feb 2013, do the same for country C and so on.
I have started to code a VBA but I am unfortunately a beginner in VBA and totally stuck at the moment. My VBA code does paste in the months but for some reason, it also changes the starting date of the first month.
Moreover, I tried a workaround for the fact that Excel doesnt know when to stop; ie I introduced a "monthdiff" variable which should calculate the number of months between the starting date (which is variable and unique for each country) and the end date (which is always 28th of Feb 2013). At the moment, it only does this for country A.
VB: Set rng = ActiveSheet.Range("I3" & Cells(monthdiff, "I").Address)[SIZE=4][/SIZE]
I have tried to make this dynamic but have been unsuccessful so far.
Spreadsheet with data&code is attached.
VB: Sub Macro1() Dim mainrange As Range Dim rng As Range