Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Long IF Statement | Excel Discussion (Misc queries) | |||
IF statement(?) | Excel Discussion (Misc queries) | |||
IF Statement problem | New Users to Excel | |||
If statement | Excel Discussion (Misc queries) | |||
Statement | Excel Worksheet Functions |