Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I have 3 columns, (A) which has calendar months, (B) which is a cost figure for that month and (C) a “higher” or “lower” statement on that months cost compared to the previous months. I have used the formula =IF(C2C3,"higher","lower") to show this, which works, but where I have copied this formula down to the other cells. The problem I want to rsolve is that in months where there is no data, it defaults to a Worse statement, I require it to be empty. I use this spreadsheet on my pocket pc, so it does not support VB or conditional formatting. Is there a way of only allowing the statement if there is data in the cells. I have used the isnumber function, but this does not work. Any help appreciated. Thanks. -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi, Try this: =IF(C2="","",IF(C2C3,"higher","lower")) -- SamuelT ------------------------------------------------------------------------ SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() SamuelT Wrote: Hi, Try this: =IF(C2="","",IF(C2C3,"higher","lower")) Works a treat, thank you for your help.:) -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(COUNT(C2:C3)=2,IF(C2C3,"higher","lower"),"")
Vaya con Dios, Chuck, CABGx3 "compaq" wrote: I have 3 columns, (A) which has calendar months, (B) which is a cost figure for that month and (C) a €śhigher€ť or €ślower€ť statement on that months cost compared to the previous months. I have used the formula =IF(C2C3,"higher","lower") to show this, which works, but where I have copied this formula down to the other cells. The problem I want to rsolve is that in months where there is no data, it defaults to a Worse statement, I require it to be empty. I use this spreadsheet on my pocket pc, so it does not support VB or conditional formatting. Is there a way of only allowing the statement if there is data in the cells. I have used the isnumber function, but this does not work. Any help appreciated. Thanks. -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi Again, Thanks for responding, both formulas work, so thanks for that. I seem to have another problem though, if I have data that is the same, it defaults to Lower. Can I get a third Text to appear "Same"? Thanks again. -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =IF(COUNT(C2:C3)=2,IF(C2C3,"higher",IF(C2<C3,"low er","same"))) Vaya con Dios, Chuck, CABGx3 "compaq" wrote: Hi Again, Thanks for responding, both formulas work, so thanks for that. I seem to have another problem though, if I have data that is the same, it defaults to Lower. Can I get a third Text to appear "Same"? Thanks again. -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() CLR Wrote: =IF(COUNT(C2:C3)=2,IF(C2C3,"higher",IF(C2<C3,"low er","same"))) Vaya con Dios, Chuck, CABGx3 Hi, Thanks for the response. Your suggestion works, but I have my original problem, in future months without data, it defaults to "false" where I need it to be blank. Thanks -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =IF(C2="","",IF(C2C3,"higher",IF(C2=C3,"Same","Lo wer"))) -- SamuelT ------------------------------------------------------------------------ SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() SamuelT Wrote: =IF(C2="","",IF(C2C3,"higher",IF(C2=C3,"Same","Lo wer"))) Thats the one! Thank you all for your help. What a great site. -- compaq ------------------------------------------------------------------------ compaq's Profile: http://www.excelforum.com/member.php...o&userid=35484 View this thread: http://www.excelforum.com/showthread...hreadid=552604 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a Custom Excel Function to Calculate Gini Coefficients | Excel Worksheet Functions | |||
Date & Time | New Users to Excel | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions |