Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default "<" formula needed

Hi, I have numbers that I would like to compare to each other and determine their relationship to each other as to "" or "<". Example

A B
1 50 70
2 10 2
3 (result will go here

Is there any formula that I can enter into cell A3 to identify all the numbers to each other and return the following result?
A1<B1, A2<B2, A1A2, A1B2, B1A2, B1B

I would like it in this form and not in "true or false" form. I use Excel 97
Thank you to anyone that can help
Bart

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default "<" formula needed

Bart

but why ?

=IF(A1B1,"A1B1",IF(A1=B1,"A1=B1","A1<B1"))&", "
&IF(A2B2,"A2B2",IF(A2=B2,"A2=B2","A2<B2"))&", "
&IF(A1A2,"A1A2",IF(A1=A2,"A1=A2","A1<A2"))&", "
&IF(A1B2,"A1B2",IF(A1=B2,"A1=B2","A1<B2"))&", "
&IF(B1A2,"B1A2",IF(B1=A2,"B1=A2","B1<A2"))&", "
&IF(B1B2,"B1B2",IF(B1=B2,"B1=B2","B1<B2"))

Regards

Trevor


"Bart" wrote in message
...
Hi, I have numbers that I would like to compare to each other and

determine their relationship to each other as to "" or "<". Example:

A B
1 50 70
2 10 20
3 (result will go here)

Is there any formula that I can enter into cell A3 to identify all the

numbers to each other and return the following result?:
A1<B1, A2<B2, A1A2, A1B2, B1A2, B1B2

I would like it in this form and not in "true or false" form. I use Excel

97.
Thank you to anyone that can help!
Bart



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default "<" formula needed

Hi Bart;

You should be able to look in help for how to write
an "If" formula to get what you want.

Thanks,

Greg
-----Original Message-----
Hi, I have numbers that I would like to compare to each

other and determine their relationship to each other as
to "" or "<". Example:

A B
1 50 70
2 10 20
3 (result will go here)

Is there any formula that I can enter into cell A3 to

identify all the numbers to each other and return the
following result?:
A1<B1, A2<B2, A1A2, A1B2, B1A2, B1B2

I would like it in this form and not in "true or false"

form. I use Excel 97.
Thank you to anyone that can help!
Bart

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default "<" formula needed

Thanks Trevor! Very helpful and it worked. The reason I needed that is for comparing investment protfolio movements. have alot of data and this sure beats looking at each value and manually figuring out which values are larger or smaller than each other. Thanks again
Bart
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"IF" formula help needed cjborntorun Excel Discussion (Misc queries) 4 March 11th 09 04:48 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"