PC Review


Reply
Thread Tools Rate Thread

change locked cell if

 
 
=?Utf-8?B?VmluY2VudA==?=
Guest
Posts: n/a
 
      22nd Aug 2007
Hi.

I really hope i can explain myself. Sorry if i can´t.

In 1 column (A) i have the total of hours a tractor has worked. The results
are daily and may vary. How can i insert a "OIL CHANGE" (column B) saying
that a oil change is always needed after 250 hours?

I managed to do it for the first oil change with, per example:
B#=IF(A#-A$1>250;"OIL CHANGE";0)

This only works for the first oil change because of A$1. I could easily
change the formula manually after 250 hours, however this worksheet is for
someone who only knows how to insert values.

Thanks for everything
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIE1heQ==?=
Guest
Posts: n/a
 
      22nd Aug 2007

In B1 enter:
=IF(SUM(A$1:A1)>=250,"Oil Change","")
and copy down

HTH
Jim May


"Vincent" wrote:

> Hi.
>
> I really hope i can explain myself. Sorry if i can´t.
>
> In 1 column (A) i have the total of hours a tractor has worked. The results
> are daily and may vary. How can i insert a "OIL CHANGE" (column B) saying
> that a oil change is always needed after 250 hours?
>
> I managed to do it for the first oil change with, per example:
> B#=IF(A#-A$1>250;"OIL CHANGE";0)
>
> This only works for the first oil change because of A$1. I could easily
> change the formula manually after 250 hours, however this worksheet is for
> someone who only knows how to insert values.
>
> Thanks for everything

 
Reply With Quote
 
=?Utf-8?B?VmluY2VudA==?=
Guest
Posts: n/a
 
      22nd Aug 2007
Hi again

Sorry Jim May, my problem continues.

Current situation: My Goal:

A B A
B
... ...

249 249
250 Oil change 250 Oil
change
251 Oil change 251
.... Oil change ....
499
500
Oil change



Big Thanks



"Jim May" escreveu:

>
> In B1 enter:
> =IF(SUM(A$1:A1)>=250,"Oil Change","")
> and copy down
>
> HTH
> Jim May
>
>
> "Vincent" wrote:
>
> > Hi.
> >
> > I really hope i can explain myself. Sorry if i can´t.
> >
> > In 1 column (A) i have the total of hours a tractor has worked. The results
> > are daily and may vary. How can i insert a "OIL CHANGE" (column B) saying
> > that a oil change is always needed after 250 hours?
> >
> > I managed to do it for the first oil change with, per example:
> > B#=IF(A#-A$1>250;"OIL CHANGE";0)
> >
> > This only works for the first oil change because of A$1. I could easily
> > change the formula manually after 250 hours, however this worksheet is for
> > someone who only knows how to insert values.
> >
> > Thanks for everything

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow VBA code to change a locked cell?? Paul Kraemer Microsoft Excel Programming 2 5th Feb 2010 12:29 PM
Locked cell Change Message Corey Microsoft Excel Programming 0 7th Dec 2009 12:34 AM
How do you get a macro not to go to or change a locked cell? bxs02205 Microsoft Excel Misc 2 4th Dec 2008 03:37 PM
Relacing default Excel message box when user attempts to change locked cell on protected sheet. Chrisso Microsoft Excel Programming 2 19th Mar 2007 04:55 PM
Change colour if cell is locked Gary Microsoft Excel Programming 1 19th Feb 2004 02:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:29 AM.