Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi. I'm trying to find a function or way to compare two cells and then label
them according to if one cell is lesser, greater, or the same as the other. I have a large data sheet where I want to compare many pairs of cells and then have them labeled in this way. For example for each pair where the second cell value is larger than the first it would put greater, where the first is larger it would be lesser, etc. Can anybody help me with this? also feel free to email me at . Thanks so much for your help. |
#2
![]() |
|||
|
|||
![]()
Hi. I'm trying to find a function or way to compare two cells and then
label them according to if one cell is lesser, greater, or the same as the other. I have a large data sheet where I want to compare many pairs of cells and then have them labeled in this way. For example for each pair where the second cell value is larger than the first it would put greater, where the first is larger it would be lesser, etc. Here's one way. Suppose column A holds the first of each pair and column B holds the second. In C1, put =IF(B1A1,"greater",IF(B1<A1,"lesser","equal")) and extend downward. (Note that I included the case of equality.) Customize to your needs. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I copy values from one cell in a column down to the next c | Excel Discussion (Misc queries) | |||
Cell linked to a range of cell values in different sheet | Excel Discussion (Misc queries) | |||
Counting values and comparing them to a single cell | Excel Discussion (Misc queries) | |||
Cell values based upon multiple conditions | New Users to Excel | |||
How do I automatically hide columns in a worksheet based on a cell value? | Excel Worksheet Functions |