# Text Output Based On Combination Of Cell Values?

Mar 9, 2014

I'm tying myself in knots when trying to combine logical formulas to return a text value based on multiple cell values.

Cell A1 can equal 1-10, and cell B1 can also contain the values 1-10.

I want C1 to display the text "YC" if B1 value is equal to 9 or 10. I want C1 to display the text "SC" if B1 value is 5-8, and A1 value is 4-10. Any other combination of values should return a blank cell.

I tried splitting this into two components before trying to make it fit into a single equation, and i can achieve the first condition of display "YC" =IF(AND(A1>=9,A1

## Excel 2007 :: Userforms - Input Cell Value (via Text Box) And Output Corresponding Values From Resulting Row

Jun 24, 2013

I have a simple spreadsheet of an inventory. Each row on this spreadsheet represents the data related to an item. I would like for a user to be able to INPUT a serial number via a userform. Then, I would like for the program to OUTPUT some information about that particular item (a few cells that should be on the same row as the serial number).

I attached an image diagram that may better represent what I am trying to do.

## 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

## Logical Formula With Output Based On The Text Input

Dec 2, 2009

Sometime it’s so hard to explain what it is you are having problems with, specially in the little title. I'm trying to write a formula which should be very simple but isn’t . The formula is in box F10 if B10 has anything in it and its going to have a mixture of text and numbers (first text then numbers) then it’s should equal to the value in the box C7. Here is the formula I wrote that doesn’t work.

## Find Combination Of Cell Values Equaling A Specified Total

Sep 30, 2006

I guess this would work in a similar manner as Solver, but where Solver tweaks cell values to equal a given total, I've got a set of cells and I need to find the combination that equals an amount in another cell. Is there a way to do this?

## Excel 2010 :: If Statement With Text As Range Of Values And Numbers Needed As Output?

Apr 23, 2013

Excel 2010, I have the following list (showing part of it):

Name
T-Shirt Sizes
Nathan
S

[Code]....

The aim of the list is to see what Sizes each and every person needs and then count how many T-Shirts are required for that particular size. The list is over a 100 entries long so counting it manually isn't really an option as it's time consuming as well as errors might arise.

Thus, I've been trying to use the IF statement with the following logic but to as no avail

IF Size in Column is XS
Add 1 to a particular Cell
IF Size in Colum is S
Add 1 to a particular Different Cell

and so on for the other sizes...kind of like a counter for a for-do-loop.

## Compare Text Cell With Numeric Cell And Output Text String

Mar 25, 2014

As per title, I am trying to compare a column of text cells which contain "Yes" or are empty and a columns of numbers. If they are "Yes" and "1" on the same row, I want to output an "OK" message. Excel seems happy with the following code but it does not work and returns an empty cell if the two conditions are true.

[Code] .....

## Output Based On Numbers In Adjacent Cell?

Oct 5, 2011

Set cell fill color based on number of adjacent cell

I am doing a research with the following information. In column B, I have the name of the buyer company, column B cells that contain numbers 1, 2 or 3 opposite the company name in column B depending on certain characteristics. I would like to mark the companies in column A in different colors (or some other recognizable way) as described below.

columns result
col A col B col C
7 Materials Inc 3
7 Materials Inc 2
6 Rayon Inc 3
6 Rayon Inc 3
6 Rayon Inc 3
8 Commun Corp 1
8 Commun Corp 2
8 Commun Corp 3
8 Commun Corp 2
8 Commun Corp 1

I would like to have on output in column A as shown above according to the following criteria:

4: if there are only 1 in column C opposite the specific company in column B

5: if there are only 2 in column C opposite the specific company in column B

6: if there are only 3 in column C opposite the specific company in column B

7: if there are 1, 2 and 3 in column C opposite the specific company in column B

8: if there are 1 and 2 in column C opposite the specific company in column B

Any suitable function in excel or Macros that can work with the formatting, because I have tens of thousands of companies and it will take too much time to do it manually.

## Limiting Output Based On Cell Data?

Mar 22, 2013

I've got a worksheet that needs to be limited by the value in a cell. I've attached it so you can look at it and understand what I need better. In I7 (red box) is a number that is the max a machine can rotate. B6 should never exceed this and B9 should be scaled down to match the output of B6. I think B9 will scale down automatically from the existing formulas if B6 is throttled correctly.

Should =FLOOR((((F5*D11)/D9)*3.82),50) have a max value equal to I7? And how would I incorporate it?

## Count Text Values Based On Second Cell

May 16, 2012

I have a list that changes:

A B
Apples 1
Apples 1
Bananas 1
Carrots 0
Carrots 0
Donut 1
Donut 1
Donut 1
Donut 1
Egg 1
Fish 0

I would like a to create a function in one cell that counts the unique text values in column A, but only when there is a corresponding 1 in column B. So the answer in the above example would be 4 (Apples, Bananas, Donut, Egg).

## Copy Cell Values To Another Sheet Based On Text In A Column

Apr 11, 2014

I'm creating a workbook to keep track of my utilities payments, one sheet for one utility and so on. I like to copy two cells from each sheet to another one to keep me updated of the amount to pay and the date. an example: column A with text, if text "NEXT" appear in column A, copy the value of two cells (at columns B & C) at the right of "NEXT" to another worksheet, if that possible? Below is a photo as an example:

excel.jpgâ€Ž

## Excel 2010 :: Building Text File Based On Values Of Cell?

Feb 26, 2014

I'm trying to use Excel to build a text file based on values from certain cells in Excel 2010. This is based partially off of static text that never changes and variables that will need to change. For example, I want Excel to output a text file that has the following text: The red fox jumped over the \$X twice. I would want \$X to be replaced by the value of A1 of the active worksheet. I will also have several lines like that, so it won't just be a single line, but anywhere from 20 - 120.

## Percentile Values With Different Combination

Mar 10, 2014

I have set of people where by based on Level & designation want to find the percentile on their CTC.

Attached is the sample file. Percentile.xlsxâ€Ž

## Lookup Values For Score Combination

Feb 21, 2014

I have a data array as follows..

Data1.png

I have a requirement as follows..

I need system to fetch values for student/subject score combination, which are in random order.

Req1.png

## Search Records With Combination Of More Than 2 Values

May 24, 2007

i've written the code below but somehow the output is not what i want.

i have a multiple records and each records contain 30 rows of info i have 3000 over records and they are all in one sheet. i need to find record using more than 1 criteria. I've written the code below. how to use VBA to search for particular strings in cells?

for e.g.
A1 : hello
A2 : world
A3 : anyhow

i want to find the cell that contains "yh" using VBA, and the output should be in cells A3.....

## Comparing Input Value From Set Of Values 1 And Output Data From Set Of Values 2

Sep 28, 2012

Got a road block on one of the trackers which I am trying to create which compares some of our agreements. Basically we need to compare current production with our contracts and then bring the tier level they are at in order to then calculate how much in overrides we receive. Belwo is an example:

Input Value = 140000
Out Should be = 1.5%

Set of Values 1
T1
T2
T3
T4

[Code]...

In a nut shell it will look for 14000 in set of values 1 and pick T3 to then go in set of values 2 and display corresponding T3 which will be 1.5% in above example as output.

## 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

## VLook Up Specific Text Within Text And Output Match From Table

Dec 3, 2009

Table 1:
I like to go to Berlin.
You like to move to Amsterdam.
They want to see Chicago.
When will the reach San Francisco.

Table 2:
Amsterdam
Chicago
San Francisco
Berlin

What I want to do:
I want my function to see if the text in Table 1 contains a value in Table 2, and if yes, output that value.

Desired Result:

Row A1:
I like to go to Berlin.
Row A2:
Berlin
Row B1:
You like to move to Amsterdam.
Row B2:
Amsterdam

## Formula Value Based On Combination Of Two Other Cells?

Mar 10, 2014

Modifying my formula to work. I'm trying to have the value of Cell B2 based off the combination value of two other cells.

[Code].....

## 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."

## How To Generate All Combinations Of Ten Values List / Picking In 4 Each Combination

Oct 20, 2013

I have a list in excel with ten values, but I need to get all combinations possible, picking 4 of 10 each combination. This must be as a combination and no permutation or variations either, I mean, values can't be repeated in a single combination.

I'm struggling to do this in a Macro but I don't get it.

## Sumif Criteria Based On Combination Of 2 Cells

Sep 19, 2012

I have different products with different sizes becoming operational in various months & years. I need to sum those sizes that are operational in a given month/year. In the example below, I have

-product A with 100 unit size, operative since 2007/03
-product C with 200 unit size, operative since 2007/10

So in the table with months on left, and years on top,
from 2007/01 to 2007/02, value must be 0,
from 2007/03 to 2007/09, value must be 100,
from 2007/10 to 2008/06, value must be 100+200=300 and so on.

For this specific example, I tried the following:

Code:
E2 = D2&TEXT(C2,"00")
fill to E7
B11 = sumif(E2:E7,"

## Count & Sort Numbers Based On Combination Of Occurences

Jan 13, 2008

I have provided an attachment. what I am trying to accomplish. I am trying to have a worksheet that if I input multiple 3 number combinations into the input cell range, after pressing the sort button, it would then sort, rank and count each 3 number combination for me. So as my attached file illustrates, the input cells would be A9:D14. In this sample the ranking consists of cells A19 - A31 as the ranking columns. Cells F19 - F31 show the counted and sorted results and are ranked accordingly. I need a sort button as illustrated in cell F10 to make the worksheet function after the 3number combinations are inputted in cells A9:D14. How do I get started to make this work? I do not know VBA codes or macros so I will need guidance along the way if this is what is needed. I do have some working knowledge of formulas (e.g. countif, rank, etc.)

## 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??

## Output Non-unqiue Values

Jun 11, 2009

I have two columns of data one which #N/A appears due to formulas often and the other a set range of numbers 1-60. Column Q contains numbers between 1-60 and #N/A when the lookup formula doesn't find what it is looking for. Column R contains the numbers 1-60. What I need is to place into another column are the numbers in column R that don't appear in Column Q.

## Input/output Values Into/from An Array

Nov 6, 2009

I have a long list of values, a few thousand lines, that I need to input into an array so I can run a formula on the values in the array and then take those results and put them into another array which I can then call to output down a different column. Is there a faster way to accomplish this than the typical For Loop with the activecell.value and activecell.offset commands, that just takes forever.

## Output Text In Different Fonts

Nov 15, 2008

I'm trying to have it output certain symbols such as "Ó" and I can't quite figure out how to do it, i want it to basically write in the selected cell:

"Ó of " & a & "'s = " & b

where a and b are strings... my problem is i cant figure out how to have it output the sigma but keep the letters from going into symbol or windings...

## #VALUE! Output Passing Text

Aug 18, 2006

i am currently working on a macro that will make an average number of days. my problem is that when the macro runs it works fine and does what is is supposed to but becuse some fields do not have numbers in it returns the #value! back in the output box. I need some way of getting rid of this, or changing the boxes without numbers to 0 automatically.

## Web Based Input Output

Feb 14, 2007

I got a question where I cannot think of a good descriptive title for, I have seen this done but do not know how it is done. An internet user inputs data onto a web form, and and presses a submit button. The submitted input is 'processed' on a through excel and outputs the result back the internet user.

Two questions
1 - what is a good title for this?
2 - how is it done?

## Convert Values Acc To Criteria In Another Closed Wbk, Output To New Wkb

May 8, 2009

I was wondering how to make the following: get a list where each Number from the "source file.xls" is assigned to a Group like in "final list.xls" through "conversion table.xls".

In the "source file.xls" we have apart from Number, the Series and Category columns. I need to compare both Series and Category to the same from "conversion table.xls" and in the third workbook output the matching Number from "source file.xls" and Group from "conversion table.xls" according to matching algorithm.

I am attaching the files:
source file.xls
conversion table.xls
final list.xls

All three should be different workbooks and the first two will need to be closed. Also very important is the source file can have many names so it would be great to implement an open dialog box to load the data from "source file.xls". All data is in text format....