Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dvonj
 
Posts: n/a
Default It's better to have it and not need it then...

....To need it and not have it.
I think I saw this a while ago but didn't need it at the time, now I could
use it. I have a column called Rate/Hours. To show what rate is being
charged. I need the column to base the rate on the previous cell. If there is
data in the previous cell then display the rate, if there is no data in the
previous cell then display "0.00" as the rate.
How could I have been so blind.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

IF(B1<"",B1,0)

and format as #,##0.00

--

HTH

RP
(remove nothere from the email address if mailing direct)


"dvonj" wrote in message
...
...To need it and not have it.
I think I saw this a while ago but didn't need it at the time, now I could
use it. I have a column called Rate/Hours. To show what rate is being
charged. I need the column to base the rate on the previous cell. If there

is
data in the previous cell then display the rate, if there is no data in

the
previous cell then display "0.00" as the rate.
How could I have been so blind.



  #3   Report Post  
dvonj
 
Posts: n/a
Default

Thanks Bob

"Bob Phillips" wrote:

IF(B1<"",B1,0)

and format as #,##0.00

--

HTH

RP
(remove nothere from the email address if mailing direct)


"dvonj" wrote in message
...
...To need it and not have it.
I think I saw this a while ago but didn't need it at the time, now I could
use it. I have a column called Rate/Hours. To show what rate is being
charged. I need the column to base the rate on the previous cell. If there

is
data in the previous cell then display the rate, if there is no data in

the
previous cell then display "0.00" as the rate.
How could I have been so blind.




  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

What is "previous" cell.

Above or left?

=IF(A1="",0,A1)

Enter in A2 or B1 depending upon answer to above.

Format to two decimal places or currency.


Gord Dibben Excel MVP

On Wed, 20 Apr 2005 06:57:01 -0700, "dvonj"
wrote:

...To need it and not have it.
I think I saw this a while ago but didn't need it at the time, now I could
use it. I have a column called Rate/Hours. To show what rate is being
charged. I need the column to base the rate on the previous cell. If there is
data in the previous cell then display the rate, if there is no data in the
previous cell then display "0.00" as the rate.
How could I have been so blind.


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



All times are GMT +1. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"