Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test loop required
Hi,
I'm working on a spreadsheet to track sick absence. I need a solution to provide the required results as below. For simplicity; I have a row of cells A1:J1 A1 & B2 = value €śSick€ť if the next cell C3 does not = €śBTW€ť then K1 = €śPending€ť, However if A1, B1 & C1 = €śSick€ť if the next cell D1 does not = €śBTW€ť then K1 = €śPending€ť, If A1 = €śSick€ť and B2 = €śBTW€ť and C1 & D4 = €śSick€ť if the next cell E1 does not =€ťBTW€ť then K1 = €śpending€ť. Each occurance of Sick should be followed by a BTW otherwise K1 to show pending, If J1 = €śSick€ť then the solution must look at Row 2 for BTW in which case K2 will show €śpending€ť. I have faith (fingers x'ed) Regards LaDdIe |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test loop required
Hi,
(Originally posted with example error) I'm working on a spreadsheet to track sick absence. I need a solution to provide the required results as below. For simplicity; I have a row of cells A1:J1 A1 & B1 = value €śSick€ť if the next cell C1 does not = €śBTW€ť then K1 = €śPending€ť, However if A1, B1 & C1 = €śSick€ť if the next cell D1 does not = €śBTW€ť then K1 = €śPending€ť, If A1 = €śSick€ť and B1 = €śBTW€ť and C1 & D1 = €śSick€ť if the next cell E1 does not =€ťBTW€ť then K1 = €śpending€ť. Each occurance of Sick should be followed by a BTW otherwise K1 to show pending, If J1 = €śSick€ť then the solution must look at Row 2 for BTW in which case K2 will show €śpending€ť. I have faith (fingers x'ed) Regards LaDdIe |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help required with 'FOR' Loop and Userforms | Excel Programming | |||
Help required with a simple Loop | Excel Programming | |||
Excel VBA code required (for.......next loop) | Excel Programming | |||
For....Next loop code required | Excel Programming | |||
How do you test to break out of a find loop? | Excel Programming |