"IF" Formula To Retrieve Data With A Two Criteria
Sep 11, 2009
I'm trying to get a "IF" formula to retrieve data with a two criteria formula and I can't get it to work. Here is the formula and a copy of what I trying to get the data to pull from any suggestions? I'm needing the "AA3825" to show up where FALSE is now.
=IF(D1="OR",E1)&IF(D4,"Repeat",E2)
AA3825S0KK14120ORAA3825281/867/907612/30/20081/3/20090431/FAC310/NA1003315 BAYOU DR SHORE ACRES TX;AA3825;PC-Y;FIXED HI-OPN IN CA;DT GOOD TO SNI;STR 20;10:03 AM1:15 PMFALSERepeatRR3592281/867/90761/6/20091/9/20090431/FAC485/NA300;RR3592;PC-Y;REPAIR HI OPEN IN F2 CA PR, ST-22, MLT 3509:42 AM12:30 PMAA3825S0KK14120ORAA382528/LXRC/563568 /SW1/10/20091/10/20090416/FAC340/R11003665 W FM 1960 HOUSTON TX*8413, EB CLOSE, CABLE PAIR- REPAIRED*8:48 AM12:45 PMFALSERepeatTM472828/LXRC/563568 /SW1/12/20091/13/20090418/FAC600/R1100*8413, EB CLOSE, REPRD F2 CABLE PAIR-*11:56 AM9:15 AMAA6206S0KK14160ORAA6206281/445/77191/19/20091/20/20091212/CPE310/NA4008627 WHITECASTLE HOUSTON TX;AA6206;PC-Y;DEF SET STR 30 T-R 3500 T-3500 R-3500 GRND4:47 PM3:22 PM
View 9 Replies
ADVERTISEMENT
Jan 6, 2014
I have a complicated situation with Excel since I need a formula that can SUM data from the Pull 1 worksheet into the summary Sheet. I attached my sample for your reference because it is a bit complicated therefore I can not explain. It is better if you look at my Summary Sheet, need formula that can retrieve the same information.
Formula Test.xlsx
View 3 Replies
View Related
May 24, 2008
I have multiple worksheets to add employee details using a form and create worksheets (copy templateSheet and paste) for each employee using their uniq user id, which works fine. I have 12 worksheets named by month (Jan, Feb, Mar.... Dec). I have only 2 worksheets Jan and Feb for test.
I want data from employee worksheet's (worksheets created by employee user id) to be in 'Jan, Feb... Dec' worksheets to use a criteria (userid, worksheet name) to get monthly holiday booked data from employee worksheet (userid and worksheets name are same) to month name worksheet. I can do it manually (Example: =rahmanm!C3
) for each row and column, but I will also have a function to delete employee name and details. Is there anyway in VBA I can update worksheets (Jan, Feb, Mar... Dec) from employee worksheets (rahmanm, hallD, aldridh.. ).
View 3 Replies
View Related
Aug 25, 2014
I have a category field, and a money spent field in a table.
Category Money spent
1 $12
2 $19
2 $122
1 $5
4 $65
5 $34
5 $12
3 $26
Category 1: $17
Category 2: $$$
and so on..
So I'm looking for a formula that returns information to one cell. A formula that looks if in 'this' column you see the category code '1' for example, then return to me the money spent for ALL the 1's. It should return $17...
The table above is small just for demo purpose, my table has 8 category codes at the moment and the number of rows can be between 15 and 50 I guess... it's a monthly break down.
I would like to see how much is spent in total for each category...
In addition if possible, can this be done for two separate tables... We are two people, and I have two table recording expenditure.
So the formula would need to, from these tables:
Person A Person B
Category Money spent Category Money spent
1 $12 2 $14
2 $192 4 $25
2 $122 4 $65
1 $5 1 $32
4 $65 3 $75
5 $34 3 $85
5 $12 2 $12
3 $26 2 $11
Category 1: $49
Category 2: $$$
and so on...
Look up in both tables, search the two category columns for category '1' for example, then return all the $'s added together... So for Category 1 now it would show $49...
View 8 Replies
View Related
Jul 4, 2014
cell: A1 = 1st data
cell: B1 = 2nd data
cell: C1 = 3rd data
1. If A1 = 85 (exact 85 only)
and if B1= < 25
then c1 = 0.21
[Code]......
View 5 Replies
View Related
Aug 5, 2014
I'm trying to build an Index-Match formula to retrieve a number from a "data" sheet onto a "summary" sheet.
In example spreadsheet, I need to retrieve the stock price on a specific row from "data" sheet, and as an alternative, the most recent price.
View 6 Replies
View Related
Jul 27, 2007
I have a spreadsheet with columns A:AH. I need to be able to retrieve the last 50 entries based on a number from column M (Area). For example, I need a message box asking me what Area I want. (The choices are 1 to 7). When I select the Area number I need to retrieve columns G:J for the last 50 entries for that Area. In selecting the entries, it needs to ignore any rows where there is either a blank cell or a period in column I. This is a dynamis spreadsheet with rows added almost daily.
Zipped spreadsheet attached.
View 2 Replies
View Related
Nov 29, 2005
I've been using the following formula from the xldynamic website detailing
sumproduct usage as a base for retrieving uniqe instances in a data series.
I've been trying to modify the formula to allow me to utilize one additional
criteria.
Original formula:
=SUMPRODUCT((A1:A20<>"")/COUNTIF(A1:A20,A1:A20&""))
Here is my formula:
=SUMPRODUCT((($O$7:$O$2710<>"")*($M$7:$M$2710="1986"))/COUNTIF($O$7:$O$2710,$O$7:$O$2710&""))
I'm trying to say how many unique instances are there for column O, where
column m = "1986?"
View 10 Replies
View Related
Jul 20, 2014
Is it possible to retrieve an arrary of the autofilter criteria. I know this is possible in pre 2007 but with 2007 onwards I can't find a way of doing it.
I know I can get all the available items in a list by using the scripting.dictionary and also by using the visible cells I could see what could be filtered but that is not really accurate for what I want.
E.G.
If I have multiple columns and look at the filtered information in one column I can retrieve an array of the visible cells from that column but that is not necessarily the criteria that is in the column. i.E. If another column has a filter rows may be filtered that would have otherwise been visible.
View 5 Replies
View Related
Feb 27, 2013
I have a table, lets say from C4:J15. Basically all the column headers are dates(row 4). I want to input a formula into column D(D5:D15) that basically retrieves the column header of the first instance in which that row has data in a cell. So say Row8 has the word 'Medicare' in C8, and there is a dollar amount in cell H8, in cell D8 I would like to retrieve the column header of 2/3/2013 that is in cell H4(the header). If there is a dollar amount in the row, that means there is a variance, and I'd like to know the first date in which there is a variance so I don't have to search the whole row.
View 2 Replies
View Related
Mar 3, 2014
I have created a userform with multipage, has two page that add new record in a excel sheet. Data has a unique reference no.(TxtRef.Value) for each record. I am trying to add a button to load the added data for a specific record using reference no back to userform so that it can be updated and overwrite back to the sheet in the same row, So far it is adding new record correctly. I do not know how to populate all the fields of the of an existing record and overwrite it back to the same row instead of adding a new record. Below is my codes
[Code].....
View 1 Replies
View Related
Sep 7, 2009
The formula I'm looking for should look for the name mentioned in B2 in range AC2:AF400 and retrieve the corresponding data below it starting from D11 to D41 and continue on F7 to F34 etc.
View 3 Replies
View Related
Feb 4, 2013
I need to match and retrieve data.
If cell A25 matches B3:B19, B25 should pull the Name and C25 the Cost.
I have attached a spreadsheet.
View 3 Replies
View Related
Nov 25, 2008
This code should retrieve data from sql server to excel sheet
filtering according to the "where" statement
its a modified recorded macro.
View 7 Replies
View Related
Sep 1, 2009
In the attached file for ODM AND ACCOUNT NAME ACCOUNT PAGE TWO PAGE C1 CELLS MEVCUT.BEN to the 2009/38 VALUE ODM PAGE AVAILABLE ON A TIME I ENTER: THE ENTIRE ROW A SUTUNUNDAKI of the SAME VALUE FILE ACCOUNT INFORMATION In the LISTELEMEK would HEATING
View 4 Replies
View Related
Jan 22, 2010
I still do not have my dummy files ready but wanted to start the discussion on Retrieving Specific Data form Txt file.
Later I will post sample files.
For now, I will appreciate any ideas on how can I refer to specific place in the txt file and get the relevant information to excel spreadsheet.
The criteria for searching the text file must be:
1.Look for specific ABC
2.right below must be a date: 01/20/2010
3.When those two criteria are met then go down and find the first occurrence of the word: “Test”
4.When you find the word, on the right of this word must find numbers
5.Get those numbers to excel
View 14 Replies
View Related
Nov 25, 2006
I have 4 columns of data:
Employee; Invoice #, Invoice Total ($), Month of Invoice
I am trying to create a simple report that will display Invoices, By Employee, for a given month. I have tried using the following VLOOKUP statements within an IF statement:
=IF(VLOOKUP(H2,S1DATA,4,FALSE)="OCT",VLOOKUP(H2,S1DATA,2,FALSE),0)
"S1DATA" is the table with the data I described above. I am trying to retrieve data for the month of October. When I use the above statement I get the information that I want, but when I copy the formula down (matching the employee name in H2, H3, H4... etc I continuously get the same invoice information.
View 9 Replies
View Related
Aug 25, 2006
I have a webpage with a form, where user can enter their login info and a location number.
- Based on these information I would like the location number to be fed into a Macro, when the user was authorized. The Macro then extract required information and give it back as txt-file ( this Macro is already written).
- The result txt-file need to be convert to an excel file and be availabe on web for downloading.
- -> All of this process must be automatically done. <--
My question is, which language (VBA, PHP, Perl,...) should I use to do the work and how can I do it?
View 3 Replies
View Related
Oct 11, 2006
I am updating one sheet within a closed workbook with information from one sheet in another closed workbook. I have been using a connection string similiar to this: "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:ExcelData2.xls;" & _
"Extended Properties=""Excel 8.0;HDR=YES"""....
My question is, how do I make a worksheet that is in a closed workbook active. And to be more specific I need to change the name of the file I am saving to and I was hoping to do something like "activeworksheet.saveas=". If you happen to know another way that relates to the way I am connecting and updating information( SQL statements), could you let me know.
View 2 Replies
View Related
Mar 27, 2009
I have 2 sheets - one called 'Lookup' that has a table of recipes in the rows and ingredients in the columns. The cross reference of each is the required quantity of that ingredient, if any (obviously..). Both rows and columns are sorted alphabetically.
In the second sheet - Recipe - I have a subset of the recipes (e.g. 'Cakes') along with the applicable subset of ingredients. I've input these by hand, so I assume they can be referenced directly in the function. What I need to do is grab the quantity out of the table for each recipes ingredient. E.g. A6 will have the recipe 'Jamrolypoly' and H1 will have the ingredient 'Jam'. H6 needs to return the value from the table in Lookup.
I'm still (very) new to this but looking around I found the following which seemed to describe the function I am after:
=VLOOKUP(H1, Ingredients, MATCH(A6, Ingredients, 0))
(Ingredients is the name of the table in the Lookup sheet)
I then need to be able to use the returned values in separate equations on sheet 2 to work out costs. This bit I've done already but I've heard that some of the methods of data retrieval return 'N/A' if there is no value, and that would not allow any subsequent calculations using the value.
View 4 Replies
View Related
Oct 27, 2012
I have a list of zip codes in excel, which I need to pass to store website and retrieve all the store locations in that area..
For example:
[URL] .... "choose my store on the left"
or [URL] ....
Is it possible to do this in Excel/ VBA?
View 3 Replies
View Related
Jul 31, 2014
Is there a way I could achieve copying cell's content minus some characters?
For example in the cell A1 would be: "two apples"
I would put into the B1 cell something like =A1(-4charactersincludingspace) - the result in B1 should be "apples"
Is it understandable what I mean?
View 1 Replies
View Related
Dec 20, 2013
I need to bring the new pac code NR. from sheet 1 to sheet 2 and when i bring them back only the 1st comes and when i copy past down it comes only the 1st number. I have changed all formats but simply doesn't work.
View 2 Replies
View Related
May 7, 2009
A while back i got some assistance from a very helpful member with a formula to retrieve a value from the left most column, that was greater than Col "min" and less than col "MAX" from a range of values.
I never really worked out how this functioned and can’t really make it out of the help files on excel. I am now trying to do a similar lookup from a table of values but only need to find the row value using a greater than less than operation, using a single column.
The original formula was
{=INDEX(A:A,MIN(IF((INDIRECT("MAX")>B3)*(INDIRECT(“min")<B3),ROW(INDIRECT("min")),"")))}
Where B3 was the number to be compared against.
View 2 Replies
View Related
Sep 30, 2008
basically all it does is retrieves external data with the preferences that I set... what I want to do is change the code so that instead taking the same URL address it refers back to a specific cell in a workbook for the address.
View 3 Replies
View Related
Apr 27, 2009
I need a macro that will ask for a crew # and then select all the rows off another worksheet that contains that crew #. Then take the selected rows and copy them to the active worksheet for reporting.
Possible?
View 12 Replies
View Related
Nov 6, 2009
I need a macro to do the following:
I need Invoice # from column A to put in Column I by comparing Name in G and H with Name in D and E.
For Example
Compare Alfred Whitworth (Column G & H) in Column D & F would give Inv # 88530 ...this value will go in column I.
Compare Angela Owens and could not find in Column D and E so leave Column I Blank.
Compare Annabelle Deen would have Inv # 88740
And so on...
View 9 Replies
View Related
Feb 1, 2010
I need to move data from "2010" page to page "sheet 1 (2)" so I don't have to double chart.
I want to be able to retrieve data in columns w, x, y, z, ac, and ad, on page 2010 and place them respectively in coloumns I - N on the correct row. (the row that matches the right name)
I dont' know how to do this-I don't know if it complicates things that 2010 has breaks in the data (each month has totals and are broken up. ) can anyone help?
I believe I have xcel 2003 if it matters.
View 4 Replies
View Related
Feb 10, 2013
Im wanting to get a function that can get the results I have in cols B and C from the data in col A .
I already have functions to get the 1400m and F1 as in cell A2 etc .
Sheet1 Â ABC1DataClassStakes2Mdn 3yo $6K 1400m F1Mdn 3yo$6K3OPN HCP C/WGT 1000 SOPN HCP C/WGTÂ 4HCP $58K 1110m GHCP$58K5GRAZIA STYLE $177K 1100m GGRAZIA STYLE$177K60 - 91 $80K 1200m G0 - 91$80K7Rating 70 SW+P $10K 1400m G3Rating 70 SW+P$10K8MDN 2YO C/WGT 450 DMDN 2YO C/WGTÂ 9OPN HCP $100K 1400m H10OPN HCP$100K10Mdn & JMP HWT $6K 2100m G2Mdn & JMP HWT$6K
View 2 Replies
View Related
Jul 20, 2013
I am using Microsoft outlook to get my all official emails. I have lot many emails in outlook express & there are some common things which i want to get in an excel sheet. Details of data are as under.
Column A Column B
1) Company Name Xyz Ltd.
2) Sales 1500$
3) Commission 150$
4) Total Sales 2500$
how can i get particular these data from outlook express to excel sheet ?
View 1 Replies
View Related