Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 355
Default Enter a formula in a cell based on value in another cell

I am automating a test summary sheet for general usage.

I have test data that I am counting pass and fails for. I have 1 worksheet
for each test and each test has a different number of test points.

Depending on how many test points I have, I want to enter my "IF" formula
ONLY if there is test data in another cell in that row.

The first row of my formula is at D9

The formula is =IF(AND(B9<max1, B9min1),"pass","Fail")

I want to enter the formula in D9 only if there is data in B9.

I want to be able to replicate this down for 500 rows.

Thanks for your help!

Sandy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Enter a formula in a cell based on value in another cell

I'm not sure what you mean? But if you just want the cell to remain
blank without displaying "Pass or Fail" when cell B9 is empty, you can
write your formula this way:
=IF(B9="","",IF(AND(B9<max1, B9min1),"Pass","Fail"))

I hope it helps.

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
Formula to enter data of one cell based on greatest amount of anot classroomlaw Excel Discussion (Misc queries) 1 January 13th 10 01:23 AM
How do I enter data in an adjacent cell based on a list selection? WiFiMike2006 Excel Worksheet Functions 1 December 13th 06 03:01 AM
Is there a way to hide worksheets and/or rows/columns based on information enter into a particular cell of range of cells? Marc New Users to Excel 1 March 10th 06 05:10 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


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