Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hi Let's say I have this formula in A1: =if(A2=2,"Hello","") But let's say I want to make the location of where the '2' has to be to trigger the 'Hello' in A1 conditioned on a value in B1, and let's say B1 changes to 5. So now instead of the formula in A1 saying =if(A2=2,"Hello","") I will want it to say =if(A5=2,"Hello",""). Many thanks as always tx -- tx12345 ------------------------------------------------------------------------ tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I am confused, are you asking for 2 formulas in one cell, this can be done I just want to be sure that is what you are asking: for example =if(A2=2,"Hello",if(A5=2,"Hello","")) Is this what you mean?? -- davesexcel ------------------------------------------------------------------------ davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(INDIRECT("A"&B1)=2,"Hello","")
Vaya con Dios, Chuck, CABGx3 "tx12345" wrote in message ... Hi Let's say I have this formula in A1: =if(A2=2,"Hello","") But let's say I want to make the location of where the '2' has to be to trigger the 'Hello' in A1 conditioned on a value in B1, and let's say B1 changes to 5. So now instead of the formula in A1 saying =if(A2=2,"Hello","") I will want it to say =if(A5=2,"Hello",""). Many thanks as always tx -- tx12345 ------------------------------------------------------------------------ tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way, think we could use in A1:
=IF(INDIRECT("A"&B1)=2,"Hello","") where B1 will contain the row reference -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "tx12345" wrote in message ... Hi Let's say I have this formula in A1: =if(A2=2,"Hello","") But let's say I want to make the location of where the '2' has to be to trigger the 'Hello' in A1 conditioned on a value in B1, and let's say B1 changes to 5. So now instead of the formula in A1 saying =if(A2=2,"Hello","") I will want it to say =if(A5=2,"Hello",""). Many thanks as always tx -- tx12345 ------------------------------------------------------------------------ tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() CLR Works great, thank you. tx -- tx12345 ------------------------------------------------------------------------ tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're quite welcome, thanks for the feedback......
Vaya con Dios, Chuck, CABGx3 "tx12345" wrote in message ... CLR Works great, thank you. tx -- tx12345 ------------------------------------------------------------------------ tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776 View this thread: http://www.excelforum.com/showthread...hreadid=519578 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
Is it possible? | Excel Worksheet Functions | |||
Changing a cell referent in a formula several at a time... | New Users to Excel | |||
HOW DO I COPY FORMULA WITHOUT CHANGING CELL REFERENCE | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |