Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Information changes daily
We have four shifts that rotate between days, swing, and graveyard. There is
always one shift off. We also make a variety of products and lengths (each day the production schedule changes). Right now, I manually fill out a punch sheet representing the day's production and I am trying to put the punch sheet into Excel and have the information transfer from three worksheets. The problem I have is that I allotted 15 lines per shift just in case there are many change overs, but sometimes only a couple of lines are used and I have to hide all the blank lines. Can Excel skip over the blank lines and find the next line with information? For instance: D1=A1 but if A1 is blank, D1=A2 and so on. Thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Information changes daily
=IF(ISBLANK(A1),D1=A2,D1=A1)
"IF A1 is blank, THEN D1 equals A2, ELSE D1 equals A1" Dave -- Brevity is the soul of wit. "TammyS" wrote: We have four shifts that rotate between days, swing, and graveyard. There is always one shift off. We also make a variety of products and lengths (each day the production schedule changes). Right now, I manually fill out a punch sheet representing the day's production and I am trying to put the punch sheet into Excel and have the information transfer from three worksheets. The problem I have is that I allotted 15 lines per shift just in case there are many change overs, but sometimes only a couple of lines are used and I have to hide all the blank lines. Can Excel skip over the blank lines and find the next line with information? For instance: D1=A1 but if A1 is blank, D1=A2 and so on. Thanks. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Information changes daily
try this
D1 =INDEX(A1:A10,MATCH(TRUE,A1:A10<"",0)) adjust your range to suit ctrlshiftenter (not just enter) "TammyS" wrote: We have four shifts that rotate between days, swing, and graveyard. There is always one shift off. We also make a variety of products and lengths (each day the production schedule changes). Right now, I manually fill out a punch sheet representing the day's production and I am trying to put the punch sheet into Excel and have the information transfer from three worksheets. The problem I have is that I allotted 15 lines per shift just in case there are many change overs, but sometimes only a couple of lines are used and I have to hide all the blank lines. Can Excel skip over the blank lines and find the next line with information? For instance: D1=A1 but if A1 is blank, D1=A2 and so on. Thanks. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Information changes daily
Thanks for your help but I can't figure out how to tie in the VLOOKUP part of
my current formula with your suggestion and still run through all the shifts just for the first line: D1=IF(A1="","",VLOOKUP(A1,$BY$1:$BZ$20,2,0)) I replaced A1="","" with your suggestion, then added in A20, A40, and A60 as the first line for other shifts (each with it's own VLOOKUP) and I got an invalid message. "Dave F" wrote: =IF(ISBLANK(A1),D1=A2,D1=A1) "IF A1 is blank, THEN D1 equals A2, ELSE D1 equals A1" Dave -- Brevity is the soul of wit. "TammyS" wrote: We have four shifts that rotate between days, swing, and graveyard. There is always one shift off. We also make a variety of products and lengths (each day the production schedule changes). Right now, I manually fill out a punch sheet representing the day's production and I am trying to put the punch sheet into Excel and have the information transfer from three worksheets. The problem I have is that I allotted 15 lines per shift just in case there are many change overs, but sometimes only a couple of lines are used and I have to hide all the blank lines. Can Excel skip over the blank lines and find the next line with information? For instance: D1=A1 but if A1 is blank, D1=A2 and so on. Thanks. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Information changes daily
Thanks for your help but it won't let me enter an array with merged cells.
When I unmerged the cells, it still gave me a n/a error. "mama no teeth" wrote: try this D1 =INDEX(A1:A10,MATCH(TRUE,A1:A10<"",0)) adjust your range to suit ctrlshiftenter (not just enter) "TammyS" wrote: We have four shifts that rotate between days, swing, and graveyard. There is always one shift off. We also make a variety of products and lengths (each day the production schedule changes). Right now, I manually fill out a punch sheet representing the day's production and I am trying to put the punch sheet into Excel and have the information transfer from three worksheets. The problem I have is that I allotted 15 lines per shift just in case there are many change overs, but sometimes only a couple of lines are used and I have to hide all the blank lines. Can Excel skip over the blank lines and find the next line with information? For instance: D1=A1 but if A1 is blank, D1=A2 and so on. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Migrating Information | Excel Discussion (Misc queries) | |||
How does one sort a block of inter-related information in Excel? | Excel Worksheet Functions | |||
Entering information from 1 worksheet to another, if criteria is m | Excel Discussion (Misc queries) | |||
Update a spreadsheet with new information. | Excel Discussion (Misc queries) | |||
Clearing information in certain columns | Excel Discussion (Misc queries) |