LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default IF function Question

Thanks for the assist.

Machineman should be happy.

Gord

On Sun, 26 Nov 2006 14:47:02 -0800, daddylonglegs
wrote:

If "column 6" is column F and "column 7" is column G then try this formula in
G1 copied down

=IF(COUNTIF(INDEX(F:F,MAX(1,ROW()-3)):F1,"start"),"on","")

"Machineman" wrote:

I basically want my data to look like this:

Column5 Column 6 Column 7
1
2
3
4 Start On
5 On
6 On
7 On
8
9
10 Start On
11 On
12 On
13 On
14
15
16 Start

The word "Start" in column 6 is derived from the data in columns 1-5. Now
everytime the word "Start" appears in column 6 I would like the word "On" to
appear in Column 7 right beside it. I would also like the next three rows
immediately below in Column 7 to say "On" too. Even though the word "Start"
isn't beside them in Column 6. In other words when my machine runs, it has
to run for a minimum of four hours at a time. I hope that helps a bit. Any
help would be greatly appreciated.

Thanks.
Machineman



"Gord Dibben" wrote:

In C1 enter =IF($B$1="Start",$B$1,"")

Copy down to C5

If etc.... in C6 means something, please explain.


Gord Dibben MS Excel MVP

On Sun, 26 Nov 2006 12:04:02 -0800, Machineman
wrote:

Hello,

I have a formula in a column that determines when a machine should be
turning on and off based on data from another column. When the criteria is
met, the formula writes the word "Start" in the cell. How do I write a
formula in the next column over so that if the word "Start" shows up in
Column 2, I want the next 5 rows down in Column 3 to have the word "Start"
too.

For example:
Column1 Column2 Column3
1 Start Start
2 Start
3 Start
4 Start
5 Start
6 etc......
7



Gord Dibben MS Excel MVP
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Public Function Question Carl Excel Worksheet Functions 7 August 31st 06 08:15 PM
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
MATCH function, exclusion question Paul Lautman Excel Discussion (Misc queries) 4 July 21st 06 04:53 AM
Average function question Sum Limit and marking Excel Worksheet Functions 4 July 8th 06 12:51 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 05:59 AM.

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

About Us

"It's about Microsoft Excel"