Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
arran1180
 
Posts: n/a
Default If function using a list of criteria

i am using the If function, but i wish to expand the logical test criteria.
I had three names that the cell could not equal, and previously did this by
using three *AND(not = to)* instructions. Now however this has expanded to
over a hundred names that i want the target to not equal.
short of writing out 100 more AND commands in the if function how can i
achieve this?
The list of names i want to exclude are in the same excel file - could i
perhaps link the if function to the table?

any help greatly appreciated
thanks
  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi

Use VLOOKUP for this. See
http://www.contextures.com/xlFunctions02.html

HTH. best wishes Harald

"arran1180" skrev i melding
...
i am using the If function, but i wish to expand the logical test

criteria.
I had three names that the cell could not equal, and previously did this

by
using three *AND(not = to)* instructions. Now however this has expanded to
over a hundred names that i want the target to not equal.
short of writing out 100 more AND commands in the if function how can i
achieve this?
The list of names i want to exclude are in the same excel file - could i
perhaps link the if function to the table?

any help greatly appreciated
thanks



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
Function that filters a list (Database) for criteria in a range a. FirstVette52 Excel Worksheet Functions 0 February 8th 05 04:37 PM
SumIf Function using multiple criteria Jamie A Miller Excel Worksheet Functions 1 February 4th 05 05:14 PM
Count Unique Names in list w/ Additional Criteria? Nodak Excel Worksheet Functions 1 January 25th 05 11:15 PM
Can I use a List in a IF Function? Matt Excel Worksheet Functions 6 November 24th 04 09:39 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


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