Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default instead of formula

I have three cells that must meet different criteria in 3 differen
cells in order to populate the target cell with a text value.. Th
range of the sheet is large and I don't want to bog it down wit
formulas. Is there another way to do it other than using If or And as
formula

example =And(A10 = "Abc",X2 = "Y",Z2 10)
then loop to the next cell in range A1:AA250

Thank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default instead of formula

Hi
though this could be done with a macro formulas are usually much faster
than using VBA. So I'd use the formulas you already have in place

--
Regards
Frank Kabel
Frankfurt, Germany

"hotherps " schrieb im
Newsbeitrag ...
I have three cells that must meet different criteria in 3 different
cells in order to populate the target cell with a text value.. The
range of the sheet is large and I don't want to bog it down with
formulas. Is there another way to do it other than using If or And as

a
formula

example =And(A10 = "Abc",X2 = "Y",Z2 10)
then loop to the next cell in range A1:AA250

Thanks


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default instead of formula

Ok Frank, thanks for your response. One more question what if th
variables for my formula change as the code loops through the range
Let me be more specific.

I'm trying to assign tasks to people that are working on a shift. Th
need for tasks is calculated in hours. So I want to be able to assig
someone to a task by adding a short text value to a cell in thei
shift, so they can see what task they are assigned to for tha
interval, usually in groups of 4 cells at a time.

So the task must have a value greater than 0, the need must be withi
the employee's shift, and the employee must be trained in the task.

So for each cell in the loop range these 3 three conditions have to b
checked for. If any one of the three can not be met, the code shoul
check for the next task, and so on.

I'm not sure how I would have the formula change to check for th
other tasks as they are needed.

Does that make sense? Is there a way to have the code check all thre
parameters before populating the cell?

Thanks again for your repl

--
Message posted from http://www.ExcelForum.com

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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 08:56 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"