How To Use One Cell To Match Pairs Of Cells For Missing Items
We use a program at work to check items out to individual people but sometimes an item is missed and it takes forever to manually look for who it is. In the attached example, (keep in mind there might be more than 100 people on this list...this is just two people), the first 2 items are a pair (radio and radio case) and the second 2 items are a pair (laptop and laptop case).
Id like a way (condition formatting) to flag a person who has one item from the pair checked out and not the other. (Ive manually highlighted one person who only has one of the paired items...id like this to happen automatically)
EDIT:: If the first person were missing the radio in this example, his name would be highlighted on the line with the matching pair...cell D1 (radio case)
Other information:
Radios will always be RFAMRC***
Radio cases will always be RFAMF****
Laptops will always be RFAMTD***
Laptop cases will always be RFAMTE***
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
- Match Up & Clearly Highlight The Pairs (duplicates) In Each Coloumn
- Copying Cells To The Neighbouring Column In Pairs Along Row 1
- Formula To Match 2 Items
- Match 3 Items Formula
- Lookup (counts The Number Of Items Which Match Criteria Set By The User)
- Index & Match Multiple Items/Criteria: Finding The Nth Occurrence
- Compare Two Columns, If Missing Insert Missing Data
- Return Value Of Cells That Match Another Cell
- Average Of Last 4 Cells That Match Current Cell
- If Two Cells Match (date), Highlight A Third Cell...
- Total Up Cell(M) If Cells(A,B) Match TextBoxes
- Replace Command Missing Cells With More Text
- Copy Pairs From 2 Columns To Formula Reference Cells & Copy Updated Formula Results
- Search A Sheet For A Match And Then Copy All The Cells To The Right Of The Match
- Match Cells & Shift Rows Down If No Match
- Formula In Lower Table To Fill In The Missing County Cells
- Advanced Goal Seek: Two Cells Missing Highlighted In Blue
- Pivot Table Group :: Fill Missing Cells With A Data On Workbook Open
- Populating Combobox 2 With Items That Match Criteria From Combobox 1
- Compare For Dupes And Add Missing Cell Information
- Fill-in As Pairs
- Show 3digits Under Pairs
- Matching Pairs Of Data
- Count Pairs In Range
- Check For Pairs Occurrences
- Match Value Of 1 Cell To Multiple Cells And Give Multiple Values
- Can Work Out Unique Pairs Of Numbers
- Combination Of Pairs, Power And String
- Extract Even/odd Pairs From A Number
- Formula Grouping Number Pairs
- Finding The Hypotenuse Of From Two Pairs Of X,Y Coordinates
- Counting Pairs From 4 Digit Lottery
- Matching And Sorting Non-Identical Row Pairs
- Make A Mcaro Loop Through 5 Pairs Of Columns
- Find Pairs Of Records And Strip Out Remainder
- Excluding Selections: Added To The 20 Items And Not To The 3 Items
- Estimate Linear Formula From Multiple Coordinate Pairs
- Highlight Cells If Match Another Sheet Cells
- Sum 1 Or More Items In A Cell
- Creating A Unique List Of Items In Column A That Have A Corresponding Non-zero Value In Column B, I.e. Excluding All Items Where Sumif ColumnB Would Sum To 0
- Return Cell Location: Of Several Items
- Count Only Items In Cell With Black Font
- Selecting Multiple Items From A List In One Cell.
- Match Cells In One Column To Cells In Another
- COLOR Items, Text & Cell(s), Unresponsive
- Validate A Cell To Only Allow Items In List1 Or List2 Or A Numeric Value
- Find Array Uniqe Items And Transpose 1 Each Into Cell
- Match Cells?
- Filter With Formula: FILTER A Range And Display The Unique Items, One Below The Other, WITHOUT Blank Cells
- Match Cells And Sum
Copying Cells To The Neighbouring Column In Pairs Along Row 1
So I have a spreadsheet that has a Title in Cell A1, then entries in B1, D1, F1, H1, J1, etc... with empty cells between. What I would like to do is copy those entries to the right, i.e. B1 into C1, D1 into E1, F1 into H1, but all the way along because in my master sheet there are a lot of columns.
View Replies!
View Related
Formula To Match 2 Items
I want to match let's say "Elbow" with "Yes" so that when I select the word "Elbow" from a list the word "No" appears on another cell. There are 54 words to match. This is what I'm currently using, however, I could only get to 29 items and I need to match 54. =CHOOSE(MATCH($J$2:$J$100,{"Abdomen","Acetabulum","Acromioclavicular Joint","Ankle","Arm","Back","Carpus","Cervical","Chest","Clavicle","Coccyx","Elbow Joint","Femur Bone","Fibula","Fingers","Foot","Forearm","Glenohumeral Joints","Hand","Head","Hip","Humerus","Ilium","Ischium"," Joint","Leg","Lower Leg","Lumbar","Metacarpus","Metatarsus","Neck","Patella","Pelvis","Pubis","Radius","Ribs","Sacrum"," Scapula","Shoulder","Spine","Spine - Lumbosacral","Spine - Thoracic","Spine - Thoracolumbar","Sternoclavicular Joints","Sternum","Tarsus","Thigh","Thoracic/Dorsal","Tibia","Toes","Ulna","Upper Leg","Upper Arm","Wrist Joint"},0),"No","No","Yes","Yes","Yes","No","Yes","No","No","Yes","No","Yes","Yes","Yes","Yes","Yes" ,"Yes","Yes","Yes","No","Yes","Yes","No","No","Yes","Yes","Yes","No","Yes")
View Replies!
View Related
Lookup (counts The Number Of Items Which Match Criteria Set By The User)
=LOOKUP($C1,$A1:$A1,$B1:$B1) Though i wanted to rid the Na error from it when C is blank I seen a few ways, And wanted to try the method of using Countif becouse it can be used withen the same cell without using extra cells like another method i seen "=IF(ISNA(A1),0,A1)" what i know of countif This function counts the number of items which match criteria set by the user. =IF(COUNTIF($A1,"")),LOOKUP($C1,$A1:$A1,$B1:$B1),"") so how the heck can the countif function be used to rid the NA of a lookup. i just cant see a relationship between counting a lookup.
View Replies!
View Related
Index & Match Multiple Items/Criteria: Finding The Nth Occurrence
I've read the how to for finding the nth occurrence using index/match but the example given does not really help solve my issue. The file I've attached is a condensed version of the actual file, which has more columns but I deleted all but the necessary ones for clarity. What I am trying to accomplish: On sheet1 there are three columns, Business, Amount, and Closing Date. Not all the business names have a closing date and the spreadsheet is sorted alphabetically by business name, so sorting by closing date, and using the method used in the topic " find the nth occurrence in excel", is not an option. On sheet2, I would like to see ALL the business names that have a closing date in the respective month, as opposed to just the first. Then to the right of the business names I have the sum of all the amounts in that month, but I figured out how to get that one already.
View Replies!
View Related
Compare Two Columns, If Missing Insert Missing Data
I have two columns which i want to compare, they contain text data such as A123. what I'd like is if its in column A and not in Column B then add to bottom of column A. Once its in column A i can do the vlookup's to draw the other data, costs etc, over but don't know how to identify, and add, the missing codes to the list.
View Replies!
View Related
Return Value Of Cells That Match Another Cell
I have a condundrum that having trouble solving hoping someone may be able to help... I am trying to return the contents of all cells that match a value based on another cell.. I have managed to achieve with the forumla below but it only returns the first value matched. what I wish to do is return all values in ROW E where the value in ROW B equals Deliver and combine into one cell [F1]. ie. B E F DELIVER VALUEW VALUEW VALUEY COLLECT VALUEX DELIVER VALUEY The formula I have currently uses index but only returns the first value found. I need to find all values and place in one cell. C5 holds value 'deliver' =IF(ISERROR(INDEX( 'Salis Today'!$E:$E,MATCH(C5,'Salis Today'!$B:$B,0))),"",INDEX('Salis Today'!$E:$E,MATCH(C5,'Salis Today'!$B:$B,0)))
View Replies!
View Related
Average Of Last 4 Cells That Match Current Cell
I am trying to do something with some data and I am not sure if it is possible. Even if it is, I have no idea how to do it. I was wondering if you could help. I am trying to get an average of cells that are in the same row as the last 4 cells to match a certain criteria (which happens to be a cell). Please see attached spreadsheet for example as it is very hard to explain. D2 = the average of the next 4 figures in column E that are in the same row as the next 4 team names from column B to match B2 For example D2 would be equal to: AVERAGE(E29+E48+E72+E86) For example D86 would be equal to: AVERAGE(E105+E122+E152+E177) If this doesnt make sense, please ask and I will endeavour to make it clearer. Example spreadsheet: Spreadsheet attatched in post 4.
View Replies!
View Related
If Two Cells Match (date), Highlight A Third Cell...
I have a row D2:ND2 where each cell contains a date from October 1st through to September 20th). I also have a column NI3:NI13 that contains various dates such as Easter or bank holidays. Would it be possible to use conditional formatting (or something else) to highlight all rows below D2:ND2 if the dates specified in each cell in D2:ND2 match any of the dates in column NI3:NI13?
View Replies!
View Related
Total Up Cell(M) If Cells(A,B) Match TextBoxes
I have 2 TextBoxes (TB1 & TB2) in which a store name and a date are entered. The sheet has many store names and many more dates(shop at the same store on different days). I am trying to get the total of columns L, M & N if TB1 = Column A AND TB2 = Column B. I know where to place the code (in the exit event of TB12(L), TB13(M) & TB14(N)). I have added sample data and updated my sample to make it easier to see what I am trying to do. Can anyone show me how to match up these TextBoxes and cell values or give me a hint as to how to proceed?
View Replies!
View Related
Replace Command Missing Cells With More Text
I've written a very simple script to replace carriage return characters with <br> tags (so I can use the output in html pages) - however for some reason when I loop the script down the cells, it ignores certain cells and works perfectly on the rest. The only 'variable' I can spot is that the ones it misses tend to be longer cells with more text (the one's that failed were 938 characters and 910 I think). Can anyone tell me if there is a limit on how big a cell VBA can process and if so, how I can work around this? Is it possible to load and parse each character one by one in VBA or something? Private Sub CommandButton1_Click() For Each cl In Worksheets("CREDIT (GENERAL)").Cells.SpecialCells(xlCellTypeConstants, 23) cl.Replace What:=Chr(10), Replacement:="<br>", SearchOrder:=xlByColumns Next cl End Sub
View Replies!
View Related
Copy Pairs From 2 Columns To Formula Reference Cells & Copy Updated Formula Results
I am currently working on a data analysis project (data mining) and need to collect and later analyze statistics for the inputs which control a series of calculations. These statistics are shown in the Statistics 1, Statistics 2 and Statistics 3 cells in the workbook that I attached. The inputs are X,Y; all possible values for these inputs are listed in the N,O columns. Basically I need a macro which would take the values from these two columns and place them pair after pair into the controlling cells (K3, L3), then it would copy cells H2 through L3 (updated stats) to a new sheet after each copy operation - so that I will finally have a list of statistics for all of the input pairs.
View Replies!
View Related
Search A Sheet For A Match And Then Copy All The Cells To The Right Of The Match
I need a macro that can search a sheet for a match and then copy all 7 cells to the right of the match. I have attached an example of the sheet that will serve as the database to search, and a userform example that will be similar to the userfrom that will display the copied cells when a match is found. I plan to copy and paste the 7 cells to a different sheet so that the userform can display the results with the control source property. I do not need a way to add to this database. I know very little about searching a database so.
View Replies!
View Related
Formula In Lower Table To Fill In The Missing County Cells
I am looking for a formula that I can use in the lower table to fill in the missing County cells, based on the values in the Town/Zip columns on the top table (I apoligize for the crudeness): CountyTownZipAbleTownA00000AbleTownB00001AbleTownC00002BravoTownD00003BravoTownE00004CountyTownZipMemberTownD00003BlackTownC00002FrankTownA00000GreeneTownB00001JonesTownA00000SmithTownC00006ThomasTownE00004White This would consist of hundreds of Zips and Towns and this is just an abbreviated mock up.
View Replies!
View Related
Advanced Goal Seek: Two Cells Missing Highlighted In Blue
I have the total sales for a company. Then I have four specific segments that fall under those sales. Two out of the four segments I have exact sales figures for. The other two segments I just have the year-end sales and the dollar increase in each quarter. Is there a way to solve in excel for the missing quarters. So each of the four segments would have to add up to the total sales for both the quarter and the year. I've attached my example spreadsheet too. There are two cells missing highlighted in blue but i'm going to try to obtain that data. provided i fill in those two blanks, is there way to back into the rest of this spreadsheet?
View Replies!
View Related
Populating Combobox 2 With Items That Match Criteria From Combobox 1
Am trying to get dynamic population of 2nd combobox based on match from criteria in combobox 1. if column a = bears and column b = colours of bears then when I select bears in combobox one, combobox 2 would populate with colors of bear. I am think of having a combobox 1 change event that evaluates each row in a specific range (does it match the criteria?) if so, then add 2nd cell (column b) of that row to the combobox 2. I know it would probably involve match and offset, add item and loop, but I am not sure what the syntax is.
View Replies!
View Related
Fill-in As Pairs
I'm looking for an easy way to fill-in 1600 cells, in Col. "A", with pairs of sequential numbers [from 1 to 800] - for example: 1 1 2 2 3 3 4 4 5 5 6 6 I managed to achieve something close with: =INT(ROW()/2.05)+1 but this is not accurate enough.
View Replies!
View Related
Show 3digits Under Pairs
Need formula? We have a pair of numbers in D1,E1,and F1….. We want only the numbers that have 12 from column A and B 66 from column A and B 18 from column A and B only A B C D E F 1 12 66 18 456 123 129 667 481 667 234 123 366 881 .........
View Replies!
View Related
Matching Pairs Of Data
I'm not sure if it's possible to do this, but I have three lists of data. One is a complete list (for example, the numbers 1-25). The next list is a subset of the complete list (e.g., 1,3,5,7,9). Attached to these (the subset list) is another list (let's say letters, so A goes with 1, B goes with 3, etc). I want to physically move the paired entries from Lists 2 & 3 so that List 2 matches up with List 1. Let's see if I can represent this visually: I have: 1|1|A 2|3|B 3|5|C 4|7|D 5|9|E 6| 7| 8| ... 25| I want: 1|1|A 2| 3|3|B 4| 5|5|C 6| 7|7|D 8| ... 25|
View Replies!
View Related
Count Pairs In Range
I am trying to analyse a set of variables in my dataset. The variables I have are numbers which are organised into a single column. I want to count the number of times different variable pairings occur within my data. An example dataset of mine is: 1,2,4,2,1,3,5,3,2,1 As the dataset contains 5 variables (1,2,3,4,5) the potential combinations are: 1,1; 1,2; 1,3; 2,1; etc.. with 25 in total. I want Excel to move through this column starting with the first two cells and step down 1 cell each time and then tell me the number of times each of the combination occurs.
View Replies!
View Related
Check For Pairs Occurrences
I am looking for a code which will check and display the Maximum Occurrences of pairs of 2 Characters. In the attached file I tried to write some code but it seems to be wrong. For your convinience, I entered the reuslts in a table (hopefully not mistaken). The code should display a MsgBox saying that "The pair 'ab' was found 6 times in A1. The string, in A1, can be any string in any length.
View Replies!
View Related
Match Value Of 1 Cell To Multiple Cells And Give Multiple Values
Sheet 2 is the problem. I need to match cells e3:h3 whenver the dates change in in cells c5:c9 and then put there result of cells b5:b9 into the corresponding cells of e5:h9. Basically what I'm saying is that I want to keep a track of all previous pay amounts from each pay period. So when the next period changes the date it also copies the new pay amount to the corresponding date of the previous pay section. I have included a sample.
View Replies!
View Related
Can Work Out Unique Pairs Of Numbers
I need to pair up 20 people in sequence for a workshop, so I number the people and can rotate people numbered 1-10 with 11-20 easy enough, but when it gets to pairing 1-10 together in pairs and 11-20 in pairs. Is there a formula I could use in Excel to work out the easiest pairing for me?
View Replies!
View Related
Combination Of Pairs, Power And String
I have a string of n pairs and want to check various combination of that string. Example: Pairs 58 78 15 Since I know I have 3 pairs (but it can be 2 or 4), I know the number of combination I want to test, ie 2 power 3 = 8 combinations. How can I program a code creating the various strings, ie 587815, 587851, 588715, 588751, 857815, 857851, 858715, 858751 ? This is what I have so far (not much): Public unique_pair 'number of pairs provided by another macro Public mystring 'provided by another macro Sub make_guess() Dim number_of_combination, i number_of_combination = 0 number_of_combination = 2 ^ unique_pair For k = 1 To number_of_combination 'how to generate the various string ???? Next k End Sub
View Replies!
View Related
Extract Even/odd Pairs From A Number
I would like to know if its possible to extract just the even/odd pairs from a number. Exp. I have the number 123 in cell A1, and would like to extract the even/odd pair, which in this case would be 13, the cell A2. I would like to be able to do this without the use of "Isodd" or "iseven" functions.
View Replies!
View Related
Formula Grouping Number Pairs
How do I express the following as a formula for range f2:h2: case 1 if any number is equal to 0 or 5, then 1 if any number is equal to 1 or 6, then 2 if any number is equal to 2 or 7, then 3 if any number is equal to 3 or 8, then 4 if any number is equal to 4 or 9, then 5 example: f2:h2=3,5,9 result 415 f2:h2=0,2,7 result 133
View Replies!
View Related
Finding The Hypotenuse Of From Two Pairs Of X,Y Coordinates
I have a map with several waypoints and would like to find the distance between any of these two waypoints. Sounds simple, but I have having an issue with the later parts of the excel file. Let me explain further. There are over 100 waypoints on this map we have. Each waypoint has an, seemingly arbitrary, X-coordinate and Y-Coordinate. However, if you divide the coordinates by [X], they turn into miles. It should go without saying that finding the distance between two waypoints is rather simple mathematically, but I having an issue figuring out how to pull two random waypoints and having the distance automatically calculated. So far, I just have column A with the waypoint name and with column B and C having the X and Y coordinates respectively. Is there anyway I can create some sort of call function that when two waypoint values are entered it would automatically calculate the distances?
View Replies!
View Related
Matching And Sorting Non-Identical Row Pairs
I have a database with 6 columns in play (there are actually other columns but they are not relevant). I'll call the columns A through F. I would like to be able to match certain counterpart rows together, do a sort placing the counterpart rows adjacent to one another, and then count how many pairs I have. (Some rows will have no counterparts.) Here is a micro-illustration of the database: ______A______B______C______D________E_____F R1___01-03___54____959____nsneakr___24____yes R2___01-04___67____454____adidaht____53____yes R3___01-10___42____344____calb3wd___11____no R4___01-19___67____454____adidaht____53____no R5___01-25___54____959____nsneakr___24____yes R6___02-02___54____959____nsneakr___24____no R7___02-14___54____959____nsneakr___24____no I basically need to devise a formula or script that pairs together two rows that fit the following criteria: 1) The rows are identical in Columns B, C, D, and E. 2) The rows are not identical in Column F (i.e., one half of the pair should have "yes" and the other half should have "no") 3) The rows are as close together as possible according to the date sequence in Column A. For example, Row 1 should pair with Row 6, and Row 5 should pair with Row 7. Row 1 should not pair with Row 7, and Row 5 should not pair with Row 6. **This criterion seems tricky because R5 and R6 would technically fit the requirement for pairing, were it not for the fact that R1 comes earlier in the sequence.**
View Replies!
View Related
Make A Mcaro Loop Through 5 Pairs Of Columns
I've managed to get my macro to work ok - but what I want to do now is to get it to loop through more columns. Currently it looks for email addresses in column AH (which will always be the same) then it looks for a "yes" in columnAB and if there is no "SENT" in column T then it sends an email,after which it adds the word "SENT" to column T. What I want t do is for the macro to then run on columns AC+U, AD+V, AE+W and AF+X. So basically it will loop through one column to the right each time for a total of 5 pairs of columns
View Replies!
View Related
Find Pairs Of Records And Strip Out Remainder
I have one hundred rows of data and within that there are some records which are the same and they will always be in pairs - identifiable by a cell with the same ref common to both records. how to strip out the records that are not part of a pair? I would like remove all of the non pairs and move them to another sheet.
View Replies!
View Related
Estimate Linear Formula From Multiple Coordinate Pairs
I have 32 pairs of coordinates (X,Y). If I graph them using a scatter chart in Excel, I can see that it looks like they suggest a linear relationship between the points. Other than printing the chart and trying to draw a "best fit" line manually, is there some sort of way I can get Excel to come up with the "best" linear formula (y=mx+b format)?
View Replies!
View Related
Sum 1 Or More Items In A Cell
I have a monthly calendar on each sheet for employees, attached is a copy of one of the sheets. I can have up to 2 combinations of text in a cell, i.e., 'V' or 'T' in this example, followed by a number, that can range from 1-12, i.e., V12T4. What I am trying to do is add up the total 'T' and 'V' time for the month for each employee. Hopefully between what I have written and my attached sheet, will explain what I am trying to do. I know how to write the =Sum(If for using only 1 item in a cell, but not 2.
View Replies!
View Related
Selecting Multiple Items From A List In One Cell.
Is it possible to restrict the values of cells in a particular column to entries defined in a list BUT to allow each cell in that column to display multiple items from the list (seperated by a comma for example). I've attached an example of what I would like to do - In Sheet "2010 Data" I want to be able to select multiple values in column F....(the values are defined within the list named "Platforms" on the worksheet called "Lookups"
View Replies!
View Related
Match Cells In One Column To Cells In Another
I want to try and create a macro that will start with the value in the first cell of one column and find it another column and highlight both itself and the other value and then move onto the next value in the cell below and repeat the same process until it reaches the end of the column. This would result in leaving unhighlighted cells as new items as it were that did not exist before.
View Replies!
View Related
COLOR Items, Text & Cell(s), Unresponsive
I should much appreciate your help on this strange new problem which is twofold: 1. Clicking either color item (for text or for cell) brings no change in designated cell(s) 2. When colors appear on Print Preview they do not on the Printout. It occurs on Dell Vista Ultimate SP2. Am on IE8; Ctrl Panel list also shows !E7. It does not occur on HP XP SP3 desktop although no discernable differences in spreadsheet. On laptop I am unable to use either COLOR icons -- for text or for cells. No trouble heretofore which makes it so frustrating. Ordinarily, following usual usage, all is well. For unknown reasons, now neither has any effect. Explored for cause/cure without finding anything more than instructions already well known. Did see note saying High Contrast might make colors ineffective, so searched out that. Found how to turn on/off, and easily turned off High Contrast. Made no difference.
View Replies!
View Related
Validate A Cell To Only Allow Items In List1 Or List2 Or A Numeric Value
I have 2 lists and I want to validate a cell to only allow items in List1 or list2 or A numeric value. List1 D1 D2 D3 .. D10 .. Dxx List2 Hol Off Sick These lists may changein length and number of items the second part, is can you valudate based on other values in a column, basically I have a list of names of available operatives, and I want to make sure each name can only be entered once in a column! Would be even better if I could get a dropdown which showed the remaining choices!
View Replies!
View Related
Find Array Uniqe Items And Transpose 1 Each Into Cell
I have a col of dates that change, 9/15, 10/15, 11/05 and reside in col. I I then have a corresonding cell in row I136, M136, Q136, U136, Y136 and AC136. I want to find the starting at the earliest date starting in I36 , M136, Q136... So I136 would be updated to 9/15, M136 = 10/15, Q136 = 11/05, ... I am thinking a CSE type formula would be a possibility, but need assistance in this or in a piece of code..
View Replies!
View Related
Match Cells?
I'm looking through the threads and found an interesting line of code (IMO anyay) copy row of data if match is found in other worksheet. v = Application.Match( Cells(i, 2), r, 0) Why is that when I type 'application.' match doesn't appear using intellisense?
View Replies!
View Related
Match Cells And Sum
I have a list of account numbers is row A. If the numbers match I want to go to column D and sum the total. I have searched the forum and can't find anything formulas specific to add a column when the criteria change (in column A). Is this possible in VB.
View Replies!
View Related
|