Two Columns Of Data And Trying To Get Function That Tells Whats The Same In Each
Jan 22, 2013
I have two colums of data with names in them, Column A and B. I want to see what names in column B also occur in column A and I want to put this function in column C. So for instance if I want to see if "John" is also in column A and if he is then I want column C to say yes beside Johns name in column B.
View 3 Replies
ADVERTISEMENT
Aug 4, 2009
the AND part of the statement tells the cell to see if 4 cells are all <-10 then do its thing that part works what i need now is if that has happened then do not do the next 3 cells
View 2 Replies
View Related
May 4, 2007
I am trying to paste a vlookup formula with a macro, my problem is that I only need it to be as long a column "B" whats the best way to do this.
View 9 Replies
View Related
Sep 1, 2006
I would like to build on my Excel VBA but not sure where to start. P.s I want to aim towards reporting side of things so make reports look good, copy data from sheets onto another sheet, formatting all done through vba, macros
View 8 Replies
View Related
Oct 19, 2009
I use this code to delete whats written in a Range of cells ...
View 6 Replies
View Related
Jul 27, 2009
I'm comparing data from two columns like this:
FALSE
FALSE
FALSETRUE
FALSEFALSE
FALSE
FALSE
and my goal is to have a TRUE or FALSE in the third column for the following criteria: TRUE if left column equals TRUE or if left column equals FALSE and right column equals TRUE. False if else........
View 5 Replies
View Related
Mar 3, 2012
Is this possible? If
A B C
0 0 0
0 0 0
1 4 5
2 4 8
0 0 0
0 0 0
0 0 0
2 6 9
8 9 3
3 5 6
0 0 0
In the raw data, the 0s split up the data into different steps. I am trying to create a function that selects the data from the ABC column and puts it into new columns for each step. I.e:
New Columns with:
1 4 5
2 4 8
and
2 6 9
8 9 3
3 5 6
In the raw data files, there will be 10 steps, with a varying length of data.
View 2 Replies
View Related
Dec 4, 2008
I'm having a problem with the IF statement. In THIS pic you can see how I have my columns set up. I want to add the F columns to a total, but only if column G is "n".
I have watched a bunch of tutorials about it, but I just cant seem to get the dang thing to work. Any advice on the formula I would need to write to make it work?
I'm using excel 2007.
View 9 Replies
View Related
Aug 4, 2014
How I can apply an IF function for four or more columns. for example: if the value is the same in four or more cells, IF function can type OK, if not something else.
what I am doing is this : =IF(H2=I2=J2=K2=L2,"OK","Not Equal") but I always receive the value"not equal" even when the all cells have the same value. The cells values are found using formula so I did copy and paste value but I received the same result.
View 2 Replies
View Related
Aug 1, 2014
I have read through other similar topics and tried using the index and match function to lookup but been unable to make the formula work.
I am trying to use the lookup function to pull data from a table using criteria in two columns and one row. I have attached a spreadsheet for example.
I want to use criteria of Day (eg . 1), Total height (cm), and jar # (eg. 1). I inherited this table from a previous coworker and don't have time to organize the data better.
In the spreadsheet I want to return the value of 8.8 (highlighted in yellow). The criteria I want to use to lookup the value are highlighted in red.
View 4 Replies
View Related
Oct 18, 2007
I am need to setup an IF Function to cover several columns. I need the function to be able to look at Column A, B, C, and D and see if any are blank. If any of these is blank I need the function to give "Pending". If all of these columns have a Y then I need the function to give me "Completed".
View 9 Replies
View Related
Apr 1, 2009
I have a spredsheet with multiple Alpha Numeric codes in one cell. I would like to seperate the codes but instead of placing them in the adjacent columns, like the text to columns function does, I want them to go to the preceding rows.
View 3 Replies
View Related
Jan 28, 2010
I have a list of items with a cell, however these are on seperate lines (using Alt+Ent) function. Example of entered text within the cell below:
_UN
_OD
_PN
_H
The beginning of each line will always start with an underscore ( _ ). The items within the list will either be 2 or 3 characters long (which includes the underscore).
The required output I'd like is (spaces used to indicate seperate cells):
_UN _OD _PN _H
I'm trying to use the 'Text to Column' function to solve my problem, however I haven't yet managed to get it to work. I've tried using the 'Fixed Width' function within this, however when I use this, it inserts an 'Enter' within the cell, which I don't want.
Does anyone else have a solution? Any help would be appreciated. Preferably I'd like this to be automatic using a formula, instead of me having to click the 'Text to Column' button each time.
(I'm using Excel 2007 if this makes any difference too)
View 12 Replies
View Related
Nov 16, 2012
A
B
C
Ap1
queens Carrots
Goja Apple
Ap2
fujja Apple
fujja Apple
Ca23
Goja Apple
queens Carrots
I tried to write a function so that it would search for a word from Column C in Column B, and then when it found it, give me a a combined result of Column A and B. For instance. I lookup up C1 (Goja Apple) in the range of all of column B; the function finds it in B3 (Goja Apple); then it returns the combined result A3 and B3 (Ca23 Goja Apple). I tried the =lookup, but I think the first column you select must be in ascending order, and that wont work for me.
View 3 Replies
View Related
Mar 11, 2014
I'm looking to average the numbers contained within 5 different columns if the corresponding cell in a different column is blank.
Here's what I have currently (with column A being the conditional cells and D:H being what I'm looking to average)
=AVERAGEIF(A3:A26, "", D3:H26)
From what I understand, this function only allows me to average a single column. If this is in fact a limitation of excel and not just of my knowledge, is there a different way to calculate the average of D3:H26 when the corresponding cell in column A is blank?
View 11 Replies
View Related
Aug 14, 2009
I have a worksheet with 10000 plus entries in ten columns From K to T. I wish to have a macro with Concatenate function to merge certain Columns from these ten columns, in one column with help of input boxes which may ask inputs, about range (from and to ), and number of digits to concatenate in the required column. I use Excel 2003 XP in work but an example is 2007 attached.
View 5 Replies
View Related
May 6, 2009
Ok this is what I need to do:
I have worksheet A with cell AC2 to enter a team id# like 51922 for example. In Cell B3 I want it search sheet11 for the team name according to the number and put the team name in B3. Sheet11 has 11 columns the first one list the 613 team names, the remaining columns have #'s like the example giving for the teams. What formula would I need to perform this function?
This is a football game the other 10 columns represents 10 worlds with identical 613 teams to control in each world, but the teams have different #'s to identify the world, team, and coach.
View 11 Replies
View Related
Mar 31, 2013
Macro for text to columns function (if this is the best way to go).
Our work report exports customer subscriptions which we call "role name". Our customers subscriptions have a valid and start date, but our customers also can purchase multiple subscriptions and we need to separate this data in order to report by subscription.
Our export has an * after each subscription, the date is in square brackets and each subscription is separated by a semi column.
So for arguments sake, let's say we have the following subscriptions:
subscription a
subscription B
subscription C
subscription D
if one customer has purchased four subscriptions on various dates, their exports may look like this:
Subscription A* [01/02/2012 12:00:00 AM]* [01/02/2013 12:00:00AM]; Subscription B* [01/03/2012 12:00:00 AM]* [01/03/2013 12:00:00AM]; Subscription C* [01/04/2012 12:00:00 AM]* [01/04/2013 12:00:00AM]; Subscription D* [01/05/2012 12:00:00 AM]* [01/05/2013 12:00:00AM]
I then use a text to columns function to separate by the * and the;
I then am left with a column for the role, one for the start date and one for the expiry date.
The roles are in alphabetical order, but sometimes some manual sorting needs to be done to delete the roles I don’t need and keep the ones I do. For example someone could have subscribed to subscription B and not in A that means that the first column may not have all the roles I need, it may be in the second or third column depending on what other subscriptions they have.
So not sure if text to column is even the best way to go?
View 6 Replies
View Related
Oct 23, 2013
This is the function I have now: =COUNTIFS(Sheet1!A:A,Sheet2!A2,(Sheet1!E:E),"*") and it works great, counting every cell with a value in column E.
When I make criteria range 3 another column (criteria also being"*") my numbers actually start going down. I think it might be averaging the two columns out or something but I just want it to count all the cells with values in it from multiple columns and give me a total count.
I have 4 columns total that I want to be able to get a total count from.
View 3 Replies
View Related
Feb 2, 2007
I have a spreadsheet that I am trying to automate, one of the tasks is to sum some columns namely columns O to T. Column B contains the exact number of entries in the columns O to T, therefore I thought that this would be a good counter. The Spreadsheet varies in number of entries every time. In this instance the rows are in total 200 inclusive a header row. ie r below is = to 200. I have tried to record a macro and from that I have tried to replace the pertinent values.
Sub Sel_Sum ()
Dim r As Integer
Dim s As Integer
Dim t As Integer
Dim U As Integer
Range("B1", Range("B65536").End(xlUp)).Select
r = Selection.Rows.Count
s = (r - 1) * -1
t = r + 1
U = -1
Range("O" & t, "T" & t).Select
Selection.FormulaR1C1 = "=SUM(R" & [s] & "C:R" & [u] & "C)" 'fails here
Selection.NumberFormat = "#,##0.00_ ;[Red]-#,##0.00 "
End Sub
View 2 Replies
View Related
Apr 17, 2013
I have a workbook that has worksheeets for every day of the month. The data in the worksheet consists of columns (employee #, name, clock in/out times, and break penalty).
What I am trying to do is create another worksheet that searches all the other worksheets for a "yes" in the "break penalty" column and then create a list of all the employees that received a break penalty for the entire month. I would like this to be able to auto populate throughout the month as data is entered and not have to use a filter every time I want to compile this list.
View 3 Replies
View Related
Feb 20, 2009
I have four columns of data, as follows:
label 1, value 1, label 2, value 2
I need to create a formula in the fith column that for each line will tell excel to:
look for entry in 'label 1' in 'label 2' if there is a match, then subtract value 1 from value 2, display result.
I have tried doing this with SUMIF but am getting nowhere fast....
View 7 Replies
View Related
Dec 5, 2012
I have been researching this for 3 days and I cannot find a solution. I have City, State information in A1. I also have City, State information in B1. I need to put them into City (D1) and State (E1).
View 4 Replies
View Related
Jan 16, 2014
My formula in sheet "A" in cell D7 is this
=IF(Activity_Log!C2="BH",Activity_Log!F2,"").
What I would like to do with it is fill in row D7 to AH7 with this formula without changing the row reference in the IF function, only the column reference.
On the Activity_Log worksheet, my data is listed from cell C2:C32, which is selected from a drop down list, and F2:F32, which contains the formula =(E2-D2)*24.
I've attached a sample : Sample_MonthlyReport.xlsx
View 9 Replies
View Related
Jan 22, 2014
I have a table as follows: [URL] - note: cells containing times and temperatures are numeric values, I've used custom formatting to add " mins" and "°C" on the end
In one cell, a user can input a time period (in mins), and in another cell, I would like to output the start and end columns (in letter/s) for the chosen time.
For example, in the link above, if the value inputted '30' then the start column is 'C' and the end column is 'G'. If the user had inputted '60', then the results would be 'H' and 'K', etc.
I am able to find the start column with the following equation:
=SUBSTITUTE(ADDRESS(1,MATCH(VALUE,C2:P2,0)+2,4),"1","")
I am struggling, however, to find the end column for the chosen time.
If each time had the same number of temperatures then it would be a simple case of adding the number of temperatures per time, minus 1, after the "+2".
My first idea was to copy the above function, but to change the "0" in the MATCH function to "-1", in order to find the next greatest time value. However, it appears that using "-1" in the MATCH function only works if the range is in descending order - my times are always in ascending order.
I have a further problem in that the time periods are not always the same values (i.e. it won't always be 30-60-90-120, it could for example be 30-45-60-75). So as far as I know, there is no way in advance of knowing the next time period up (and then subsequently taking one column to the left).
One possible workaround I have considered involves the following:
- Add a new row between rows 2 and 3, which has the time values in each cell (i.e. from column C, values of 30-30-30-30-30-60-60-60-60-90-90-90-120-120) - effectively duplicating the time row, but not merging cells
- Use the COUNTIF function to find the number of cells in that row containing the chosen time
- Add this value, minus 1, after the "+2" in the above formula, i.e. =SUBSTITUTE(ADDRESS(1,MATCH(VALUE,C2:P2,0)+2+COUNTIF(C3:P3,"="&VALUE")-1,4),"1","")
View 14 Replies
View Related
Feb 3, 2014
I am working on a =transpose function. Pretty simple right? Well now I am trying to have it SKIP/SELECT certain columns.
I have =transpose("date!B1:T1"), but now I want to "Select A,B,D,E,F"
=TRANSPOSE(INDIRECT("date!B1:T1"),"select A,B,D,E,F,G,H,P,Q,R,S,T")
View 1 Replies
View Related
May 20, 2009
In sheet1 there are three columns
A1 : PO Number (for example 111001)
B1 : PO Line (for example line # 91)
C1: Amount ( USD 50.00 )
In Sheet2 there are three columns also
A1 : PO Number (for example 111001)
B1 : PO Line (for example line # 91)
C1 : Account Code ( For example AA.00.000,725001)
Now, I would like to use a function that brings the value of C1 in sheet 2 ( The Account Code) to d1 in sheet1 taking into consideration that the PO number may repeat but the line numbers is not repeating for the same PO. Attached is a sample for better illustration
View 4 Replies
View Related
Feb 4, 2013
How can I sort two columns of function results using the result value? Excel is trying to sort on the function in the cells rather than the results themselves.
View 9 Replies
View Related
Feb 9, 2012
A post about skipping rows is very similar to my situation, but I'm stuck on how to translate that for columns. (Filling formulas but need to skip cells)
I'd like to transfer information from a worksheet called "Raw Data" to another sheet, skipping every 5th column. I'd like to go from "Raw Data" B12 to a new sheet C6, then from "Raw Data" G12 to D6 in the new sheet, and so forth.
I figured out that I'll need to use COLUMN()*5-13 as a component of the function, but I can't seem to figure out how to format the name of the worksheet correctly, with the ampersand and quotation marks.
This doesn't work at all, but I think it's in the ballpark...
=INDIRECT("Raw Data!"(COLUMN()*5)-13)&12)
View 3 Replies
View Related
Jul 10, 2009
I have a worksheet with 20+ columns. For this macro, I only need to focus on 4 of them. However, none of these columns are ever in a fixed position so the macro would need to find them by name and NOT by column position. Here they are...
1. Vacation Type (will only have a text value of either "Cold" or "Warm")
2. Vacation Started (will always have a date *x/xx/xxxx)
3. Vacation Ended (sometimes it will have a date '*x/xx/xxxx' and sometimes it will NOT have a date and will be truly blank)
4. Number of Days (currently has ALL truly blank cells)
THIS WHOLE MACRO SHOULD NOT BE CASE SENSITIVE ANYWHERE
Here's what I would like the macro to do...
Scenario 1 - for "Cold" values Find "Cold" text values in the "Vacation Type" column
"Cold" values WITH a date in the "Vacation Ended" columnIF there IS a date in the "Vacation Ended" column in the same row, put the number of days difference between the "Vacation Started" column and "Vacation Ended" column in the "Number of Days" column.
The amount of days in the "Number of Days" column will determine whether these cells should be highlighted GREY or RED.
Scenario 1-AIF the number of days difference is 7 days or less, highlight the cells in the "Vacation Ended" column and "Number of Days" column RED.
OR…
Scenario 1-BIF the number of days difference is MORE than 7 days, highlight the cells in the "Vacation Ended" column and "Number of Days" column GREY..................................
View 2 Replies
View Related