View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default What's wrong with this IF function.

The formula I have is this,

=TEXT((SUMIF(H20:H65536,TODAY()-WEEKDAY(NOW(),3)+{5},I20:I65536)+SUMIF(H20:H65536, TODAY()-WEEKDAY(NOW(),3)+{5},K20:K1048576)),"$
#,##0.00")&" -
"&TEXT((SUMIF(H20:H65536,TODAY()-WEEKDAY(NOW(),3)+{5},I20:I65536)+SUMIF(H20:H65536, TODAY()-WEEKDAY(NOW(),3)+{5},K20:K1048576))/$C$9,"0.00%")

How can I work with the numbers in this cell??

"RagDyer" wrote:

What formula do you have in B1 to display those values?

Are they *legal* XL numbers that can be calculated ... or might they be
text?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"GEM" wrote in message
...
In B1 through B7, I have two numbers in the same cell, something like this
B1=$20.44 - 13.00%. I used the "&" to have the two numbers together in the
same cell.

I want to show an arrow on column C where the percentage is the highest.
The
results on column B change everyday because I am using the =TODAY().

So how do I get to show an arrow where the percentage is highest??
Something
close to my IF function??

=IF(B1=MAX(RIGHT(B1,6):RIGHT(B7,6)),"?","")




"Mike H" wrote:

Hi,

It's not entirely clear what your trying to do but maybe this

=IF(RIGHT(B1,6)+0RIGHT(B7,6)+0,"?","")

Mike

"GEM" wrote:

=IF(B1=MAX(RIGHT(B1,6):RIGHT(B7,6)),"?","")