Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Simple If Statement


HI Guys

Can somebody show me how to do this simple if statement.

say i have two rows A and B

row A has a set of names in like peter, dan, simon etc etc

and

Row B also has a set of names in like peter, dan, simon etc etc

In row C i would like to write a formula like this:

if (RowA = RowB) print RowA Else Print RowB
can anyone help

Cheers in advance


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=567462

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Simple If Statement

Hi

Try this in C2:
=IF(A2=B2,A2,B2)
and fill it down your column

Hope this helps.
Andy.

"digital21st"
wrote in message
...

HI Guys

Can somebody show me how to do this simple if statement.

say i have two rows A and B

row A has a set of names in like peter, dan, simon etc etc

and

Row B also has a set of names in like peter, dan, simon etc etc

In row C i would like to write a formula like this:

if (RowA = RowB) print RowA Else Print RowB
can anyone help

Cheers in advance


--
digital21st
------------------------------------------------------------------------
digital21st's Profile:
http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=567462



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 430
Default Simple If Statement

=IF(A1=B1,A1,B1)

see if that does the trick.

"digital21st" wrote:


HI Guys

Can somebody show me how to do this simple if statement.

say i have two rows A and B

row A has a set of names in like peter, dan, simon etc etc

and

Row B also has a set of names in like peter, dan, simon etc etc

In row C i would like to write a formula like this:

if (RowA = RowB) print RowA Else Print RowB
can anyone help

Cheers in advance


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=567462


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
Long IF Statement rmitchell87 Excel Discussion (Misc queries) 2 October 2nd 05 03:50 AM
IF statement(?) contrarian Excel Discussion (Misc queries) 3 September 30th 05 06:14 PM
IF Statement problem trixma New Users to Excel 3 September 27th 05 06:36 AM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


All times are GMT +1. The time now is 10:24 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"