Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default 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
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
Help required with 'FOR' Loop and Userforms Clinton M James Excel Programming 0 December 12th 07 12:47 PM
Help required with a simple Loop Pedros[_3_] Excel Programming 10 July 27th 06 12:57 PM
Excel VBA code required (for.......next loop) uplink600[_2_] Excel Programming 5 May 18th 04 10:08 AM
For....Next loop code required uplink600 Excel Programming 2 May 12th 04 04:03 PM
How do you test to break out of a find loop? Henry Stock Excel Programming 4 February 26th 04 11:15 PM


All times are GMT +1. The time now is 12:16 AM.

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

About Us

"It's about Microsoft Excel"