Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how do i create a formula in excel

i need to show that column c is or = column a or < or = column b to be true
and displays acceptable then false if < column a or column b and displays
reject
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 418
Default how do i create a formula in excel

mnoble wrote:
i need to show that column c is or = column a or < or = column b to be true
and displays acceptable then false if < column a or column b and displays
reject


I assume you mean to compare corresponding cells in columns A, B and C.
Replicate the following formula in each cell in column C (starting
with C1, for example):

=if(or(C1 = A1, C1 <= B1), "Acceptable", "Reject")

Note: Your "reject" logic is not consist with your "acceptable" logic
above. I presume you mean: "if < column a AND column b, display
reject". That is the opposite of "if or = column a OR < or = column
b".

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how do i create a formula in excel

Assuming source data (ie numbers) running in cols A to C, from row2 down

Put in D2:
=IF(COUNT(A2:C2)<3,"",IF(OR(C2=A2,C2=B2),"Accept able","Reject"))
Copy down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"mnoble" wrote:
i need to show that column c is or = column a or < or = column b to be true
and displays acceptable then false if < column a or column b and displays
reject

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how do i create a formula in excel

Oops, correction to earlier ..

It should be in D2:
=IF(COUNT(A2:C2)<3,"",IF(OR(C2=A2,C2<=B2),"Accep table","Reject"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Tom is offline
external usenet poster
 
Posts: 5
Default how do i create a formula in excel - demechani

Can anyone write this formula in VB? I'm trying to write an Excel IF STATEMENT in VB so I can loop it, but I'm failing miserably...

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.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
How do i create a countif formula in excel? jp Excel Worksheet Functions 2 April 9th 06 10:14 AM
Can I create an IF formula for single cell w/ dif. text in Excel? bennymichael Excel Discussion (Misc queries) 1 July 21st 05 08:59 PM
Can I create a formula in Excel that evaluates form information? SallyP Excel Worksheet Functions 4 June 14th 05 06:40 PM
Create an if-then formula in Excel to limit column total? Nancy M Excel Discussion (Misc queries) 2 February 13th 05 10:47 PM
How do I create a formula in Excel that will countif or sumif bef. bkclark Excel Worksheet Functions 4 November 10th 04 05:30 PM


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

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"