#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If Then

I would like to do the following:

Determine which cell is greater, A1 or B1. Display whichever is greater in C1.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default If Then

Enter this in C1: =IF(A1B1,A1,B1)


--
Brevity is the soul of wit.


"face" wrote:

I would like to do the following:

Determine which cell is greater, A1 or B1. Display whichever is greater in C1.

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default If Then

In C1 enter:
=MAX(A1,B1)
--
Gary''s Student
gsnu200701


"face" wrote:

I would like to do the following:

Determine which cell is greater, A1 or B1. Display whichever is greater in C1.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If Then

I figured it out.

= IF(A1 B1,A1,B1)



"face" wrote:

I would like to do the following:

Determine which cell is greater, A1 or B1. Display whichever is greater in C1.

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default If Then

Great but please do not overwork IF.
Gary's use of MAX is the best method for your problem
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"face" wrote in message
...
I figured it out.

= IF(A1 B1,A1,B1)



"face" wrote:

I would like to do the following:

Determine which cell is greater, A1 or B1. Display whichever is greater
in C1.

Thanks!



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



All times are GMT +1. The time now is 07:05 AM.

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

About Us

"It's about Microsoft Excel"