Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 2nd 04, 12:15 AM
AK
 
Posts: n/a
Default How do I make this formula work =if(a1=(b10:b20),"good","bad").

I need to check if the number in cell a1 equals one of the numbers in cells
b10 though b20.

  #2   Report Post  
Old December 2nd 04, 01:13 AM
tjtjjtjt
 
Posts: n/a
Default

AK,

This should do it:
=IF(COUNTIF(B1:B10,A1)0,"good","bad")

tj

"AK" wrote:

I need to check if the number in cell a1 equals one of the numbers in cells
b10 though b20.

  #3   Report Post  
Old December 2nd 04, 01:13 AM
Andy Brown
 
Posts: n/a
Default

I need to check if the number in cell a1 equals one of the numbers in
cells
b10 though b20.


=IF(ISERROR(MATCH(A1,$B$10:$B$20,0)),"Bad","Good")

Rgds,
Andy




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
Need help to set-up a formula on Excel work sheet? wiskeyjoexxx New Users to Excel 1 January 15th 05 02:59 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Help with formula to make cell blank Inspector Excel Worksheet Functions 5 November 18th 04 08:15 PM
How do I make an If-Then formula in Excel? kdub1980 Excel Worksheet Functions 3 November 11th 04 06:08 AM
formula from Excel97 doesn't work in Excel2003,any ideas why? nic Excel Worksheet Functions 6 November 8th 04 04:40 PM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017