ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Test loop required (https://www.excelbanter.com/excel-programming/419481-test-loop-required.html)

LaDdIe

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

LaDdIe

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


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com