# IF Formula - Column To Show Text Value Dependent On Combination Of Three Columns

May 12, 2014

I have three columns that each have a drop down of text options; column A has three options, column B has three options and column C has two options. I want to have a fourth column that will show a text value dependent on the combination of the three columns.

It ends up being 18 variations so my IF formula just won't compute.

This is basically the format I have and works for a few values then just chucks up an error when I extend it to all 18 variations:

IF(AND(A1="text",B1="text2",C1="text3"),"show this text",
IF(AND(B1="other",B1="other2",C1="other3"),"then show this", ) etc etc

Any way I can get this to work for all 18 possible outcomes??

## Formula Dependent On Text In Adjacent Column

Oct 7, 2009

I have a datatable which has a column containing up to 25 different text codes (which are currency pairs). I need to insert a specific number (as seen in the attached example) in a second column. This number depends on the text in the first column. I suspect this is very simple but at the moment, not for me!

## 2 Columns With Dates - Formula To Show What Column Has Date?

Apr 15, 2013

I have 3 columns (Name, Pass Date, Fail Date) Each name will only have 1 date in either column B or C.

I want a formula that will say "if there is a date in the pass column (B) then this name is a pass, if there is a date in the Fail column (C) then this name is a Fail"

## Only Display Value If Combination In Two Columns Matches Combination In Two Other Columns

Jul 12, 2012

I have a formula that I can't get to paste successfully in the forum - it keeps getting cut off?!? ... but I think I can probably simplify my explanation to get the answer I want anyway.

I need to only show the value from AUS!\$H\$2:\$H\$17 if the C2 & D2 combination are the same as the AUS!\$B\$2:AUS!\$B\$17 & \$AUS!\$C\$2:AUS!\$C\$17 combination.

## Formula To Create Combination Of Text Values

May 22, 2014

I need a formula that can provide all possible alphabet combination in another cell .

example

COLUMN A A1 = RED
COLUMN B B1:B50 = BELOW COMBINATION / RESULT

RED
ERD
DRE
EDR
DER
RDE

## Show All Possible Combination Of Set Of Numbers?

Feb 10, 2006

I am trying to show the all possible combinations of a set of numbers in Excel, in my case I think permutations are more appropriate to use. For example: there are three numbers 1, 2, 3 I want to show results like:

1, 2, 3
1, 3, 2
2, 1, 3
2, 3, 1
3, 2, 1
3, 1, 2

The functions in Excel available only give the total number, but I want to see these combinations!

## Separate Numeric / Text Combination Into Two Separate Columns

Oct 9, 2013

How can I separate the following numeric/text combination into two (2) separate columns in Excel?

302ALTO
406AMZN
451AMRC
605ANCC

The result would be:

302 ALTO
406 AMZN
451 AMRC
605 ANCC

## Show List Dependent On A Cell Content?

Jul 31, 2014

I'm trying to create a form where you can select names from a list dependant on what depot has been selected

On Sheet 1 along the first row are names of depots, under each of these are a list of names (number of name varies)

On Sheet 2, C2 is a data validation list, with source being =Sheet1!A4:E4

Is it possible to make C3 show a list of the names that's dependant on what's selected in C2

## Excel 2003 :: How To Show Differences And Count Between 2 Columns Of Text

Aug 5, 2012

Have Excel 2003. I have

List of email addresses in column a
List of email addresses in column b

** I would like a formula that will take all the values in column A and compare it to the entire list of entries in column B.
Would like it to show in Column C any entries in Column A that ARE NOT in the entire column B.

*Would like it to repeat for entries that are in Column B, but not in Column A and show in D.

*Then would like a count of the differences for each column (that is pretty easy).

It needs to look at the entire list of entries in the column as these will be email addresses. We want to know what is missing from Column A that is not in Column B and what is missing from B that is not in A.

## How To Compare Data Of Two Columns And Show Number From A Third Column

Apr 16, 2014

How can I compare the data of two columns, and if the same, to show me the number from a third column? I upload a quick sample

## Show Formula As Text

Apr 25, 2006

show a formula as text in another cell

## Reorganizing Data To Show Info From Two Separate Columns In Third New Column

Feb 5, 2014

I've got a problem with organizing my data. I've performed a study with several participants, each of which does several trials with 8 conditions (1,2,3,4,5,6,7, or 8), with each participant doing a condition more than once. I also have a separate column telling me whether they responded correctly or incorrectly (with a 1 or a 0).

I need to find a way to produce a new column to identify whether they got each condition (of the conditions 1,2,3,4,5,6,7, or 8) correct separately, i.e one column for responses to condition 1, one for condition 2 and so on....

It would also be useful if there was a way that once this is done I could summarize their accuracy of responses to each condition.

I've attached an example of my data. excel problem example.xlsx‎

## Getting Unique List From Combination Of 2 Columns?

Apr 18, 2014

how can I retrieve a unique list coming from a combination of 2 columns. Using VBA would be much better.

e.g.
Col1Col2
RED 1
RED 2
BLUE 1
BLUE 1
RED 1
BLUE 3
BLUE 2
BLUE 1
RED 1

Result will be

RED 1
RED 2
BLUE 1
BLUE 3
BLUE 2

## Finding Two Columns Giving Best Combination

Mar 23, 2014

I need to find the which two columns that give the greatest combination.

Row 2 shows some possible combinations, a total of combinations is 21.

Attached File : test.151515.xlsx‎

## Concatenate 2 Columns To Make Every Possible Combination

Jul 19, 2009

Is there an easy way to concatenate two columns and provide every possible combination?

E.g.,
A B
1 A1 B1
2 A2 B2
3 A3
The function should result in
C
1 A1B1
2 A1B2
3 A2B1
4 A2B2
5 A3B1
6 A3B2

## Series Of Dependent Comboboxes In Userform That Show Unique Values Of Dynamic Tables

Mar 23, 2014

This example workbook contains a datatable, which is inputted via a userform. The datatable has 4 columns: Date, Invoice no., Loads, Tonnage. This table is dynamic, as a new row gets entered each time data is entered in the userform. A different userform (the one in the example) has comboboxes which refer to the data in the table. This userform asks the user for the Date, Invoice no., Loads and Tonnage. I want to use comboboxes so that they will advise the input based on the users previous input.

The first combobox asks the user for a data, and should contain a list of all the unique dates that are stored in the table. When the first combobox is inputted, the list for the second combobox will change. The list of the second combobox should be a list of unique invoice numbers, based on the date that has already been entered. The 3rd and the 4th combobox should also show a list of unique values, based on the previously entered date and invoice no.

Example: The first combobox should advise the dates: 4-Nov-14 and 15-Nov-14. User chooses 4-Nov --> second combobox should advise unique invoice numbers based on chosen date: 1252 and 1311. User chooses 1152 --> 3rd combobox should advise unique values based on previous values: 3, 8 and 7. 4th combobox: 57, 23 and 47.

## Formula To Show All Text In Different Cells But Not The Empties?

Jun 4, 2014

Im trying to add Cells K2,L2,M2,N2,O2

For instance Column K2 could have the number "2" in it, but in K3 it might be blank.

L2 could have the number 3 in it, but be blak in L3.

M2 could have 50 in it or could be blank.

What I want for P2 to say is 2&3, if the cells in K2 and L2 show the 2 and 3. If it has the 50 in M2 thought, I want it show it.

## Dependent Dropdown List - 3 Levels - Remove Common Entries From Selection - Show Relevant

Dec 4, 2013

I have scoured the net for the following and have not been able to find a solution. I have found variations but not something specific for the use needed here.

I have attached a file with sample data which has the following format.

Column 1 = vehicle model (in this example golf, jetta, but there will be over 100 choices)

Column 2 = vehicle package option for specified vehicle model (automatic transmission, manual transmission, automatic transmission with air conditioning, etc...)

Column 3 = vehicle colour available for vehicle package option

Please note that Column 2 values for 'golf' are different than values available for 'jetta' (in the sample data I have blocked out common values with the same colour for quick and easy identification)

Also please note that Column 3 values of colour options vary for each 'vehicle package option'.

The behaviour that would be ideal is to have 3 drop down menus. The first drop down menu will allow selection from column 1 and will show each model only one time and repeated values will not be shown. The second drop down menu will only show the options available based on the selection in the first drop down menu. Likewise, the third drop down menu will show the colour options available based on the selection in the second drop down menu.

Since my data will involve hundreds of unique values in column 1 with plenty more added over time, it seems that the format of the data and the way it is laid out in the attached sample is the easiest way to organize it. It is perhaps also the easiest way to include new data without a lot of reprogramming.

Sample Data - Dependent Drop Down Cells Question.xlsx

## Show Data And Value In Others Worksheets Matching With Column Text

Mar 30, 2014

I have a excel workbook, which sheet2 (vehicle arrangement) is master data sheet. which column headings are match with other worksheets. whenever I put the cell value of any multiple rows or column, the cell value (number) and rows (text) are copy or show in the particular sheet which name match with column head.

Sample:

Customer Name
ORDER
MMT
TIL
VBG
JKL
SSL
RDF
ERG
RFG
ERRT
WC
ARS
YUH
TOTAL

M/S XYZ
50

[Code] .......

Worksheets are names as column names is here.. "MMT","TIL", "VBG"........"YUH". So whenever I give the cell value under the column head the same value and corresponding row (customer name) should be show in the particular column head worksheet.

## Formula To Show Words In Column?

Dec 16, 2013

Excel. Let's say this how a column looks like:

a
b
b
c
d

Is there a formula to get this outcome:

a 1
b 2
c 1
d 1

If not, is there a way to create a list of words that are in a column?

## Formula To Show Combine Answer And Text In 1 Cell From 2 Different

Oct 27, 2009

i need t oknow if i can have text added into 1 cell with having a formula with a answer in it as well,,,i have attached a sheet with better examples of what i mean.

## Identify Minimum Combination Of Columns Which Makes Row Unique?

Nov 20, 2013

I have a (phylogenetic) matrix with a species in each row, and morphological character in each column, scored as 0, 1, 2, 3 or 4 for each different species, so something like the following but much bigger:

Character 1 Character 2 Character 3
Species A 1 0 1
Species B 3 2 2
Species C 1 2 0

I want to identify the minimum combination of different columns (i.e. their values, but also which columns) that make a particular row unique.

## Compare 2 Columns & Delete Rows Ouside Scope & Show Formula Result In Message Box

Jan 22, 2008

I have the following code to compare two columns and delete adjacent rows if 1 is greater than or equal the other...

Sub LastReceipt_GT_Confirmed()

Dim intLstRow As Integer

For intLstRow = Range("E" & Rows.Count).End(xlUp).Row To 2 Step -1
With Range("E" & intLstRow)
If .Value > .Offset(0, 1).Value Then .EntireRow.Delete
End With
Next intLstRow
For intLstRow = Range("E" & Rows.Count).End(xlUp).Row To 2 Step -1 .............

## Sorting A Combination Text / Numeric Value?

Oct 2, 2013

I have a series of identification values that begin with text and end with a number. The trouble with sorting on this field only affects where the the first 9 entries end up since the number portion is not prefixed with a zero. Is there a way to sort these numbers so that ID2 (and not ID10) follows ID1?

ID1
ID2
ID3
.
.
.
ID9
ID10
ID11

## 5 Column Combination?

Nov 13, 2013

I have data in a 5x5 area and I would like a VB Script or Function that can give every possible combination of one number from each column added together.

i.e.

500 400 300 200 100 1500
400 300 200 100 500 1900
300 200 100 500 400 1800
200 100 500 400 300 etc...
100 500 400 300 200

## Formula At The Top Of The Sheet To Show The Latest Figure In Column

Jan 6, 2009

Having problems with the following:

First Column Second Column Cumulative (B-A)
1 10 9
2 20 27
3 30 54
4 40 90

Every day,a new row is added and i want a formula at the top of the sheet to show the latest figure in column C.

## Another Sheet To Show Each Class Down The Rows And The Columns To Show Each School Rule

Mar 20, 2009

I have an excel 2003 sheet that collects data from Infopath forms. The forms are to record students who have broken school rules, when, where, repercussions etc. One column shows their class and there is a separate column for each rule broken.

I want to create another sheet to show each class down the rows and the columns to show each school rule. Therefore, each cell would show the number of each particular rule broken for each particular class. I have tried to do countif and sumproduct (if on sheet 1, column B the class is KA and on sheet 1, column M, the rule is bullying = how many times this has occurred).

## Sorting Rows With A Combination Of Text And Number?

Aug 3, 2013

I'm currently trying to make a sort macro that sorts a row of data that has a combination of numerical data and the text entry "N.A."

e.g.:

My field:
1
2
N.A
4
5
N.A
9

I want to sort the cells by descending value. But the result appears as:

My field:
N.A
N.A
9
5
4
2
1

But I want to numbers to appear first and have the "N.A."s to be after the number, since I have about 100 columns and some rows have like 30 N.A., which is pretty bad for usability if all that appears in the first screen are "N.A."

EDIT: by the way by ascending the data is fine since it orders by smallest number to largest and THEN the "N.A."

## Make Column Show Result Of Formula As Positive Number Only?

Dec 14, 2013

I am trying to make a column show the result of a formula as positive number only. Right now the column subtracts two other cells and displays the result. I am trying to make it show all the results, positive or negative as positive.

## To Populate Three Columns With Text Based On Text Of Another Column

Dec 16, 2009

I am having a trouble in Excel sheet.My column A has a drop down list with text- possible, not possible, not required.Based on the text, i need to populate texts in columns B, C and D.

For example

Column A drop down selected is "possible"
then B coulmn should automatically populate "1-3"
C should populate with "3-5"
D should be "5-7"

I am using MS excel 2007.