#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default IF-OR Functions

I am trying to sort info based on the most recent database it appeared in.
Column A has the Master List, and outlying columns have other info. Column B
has the most recent list (call it 2006), Column C is 2005, Column D 2004. In
Column E I want to put the the most recent list that the items in Column A
show up in. I am trying to use IF(OR(EXACT))) to compare items in Column A
successively with each row. Something like:
=IF(OR(EXACT(A1,B:B)),"2006",IF(OR(EXACT(A1,C:C)), "2005",IF(OR(EXACT(A1,D:D)),"2004",
"NEW"))). Getting #NUM error. Tried CONTROL-SHIFT-ENTER at end, but not sure
if problem is all are not arrayed.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default IF-OR Functions

=IF(ISNUMBER(MATCH(A1,$B$1:$B$6500,0)) is what you want.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"archsmooth" wrote:

I am trying to sort info based on the most recent database it appeared in.
Column A has the Master List, and outlying columns have other info. Column B
has the most recent list (call it 2006), Column C is 2005, Column D 2004. In
Column E I want to put the the most recent list that the items in Column A
show up in. I am trying to use IF(OR(EXACT))) to compare items in Column A
successively with each row. Something like:
=IF(OR(EXACT(A1,B:B)),"2006",IF(OR(EXACT(A1,C:C)), "2005",IF(OR(EXACT(A1,D:D)),"2004",
"NEW"))). Getting #NUM error. Tried CONTROL-SHIFT-ENTER at end, but not sure
if problem is all are not arrayed.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default IF-OR Functions

I actually got it to work using:
=IF(OR(EXACT(A1,$B$1:$B$6500)),"2007",IF(OR(EXACT( A1,$C$1:$C$6500)),"2006","NEW")) with CONT-SHIFT-ENTER, but will test yours for future use.

"Dave F" wrote:

=IF(ISNUMBER(MATCH(A1,$B$1:$B$6500,0)) is what you want.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"archsmooth" wrote:

I am trying to sort info based on the most recent database it appeared in.
Column A has the Master List, and outlying columns have other info. Column B
has the most recent list (call it 2006), Column C is 2005, Column D 2004. In
Column E I want to put the the most recent list that the items in Column A
show up in. I am trying to use IF(OR(EXACT))) to compare items in Column A
successively with each row. Something like:
=IF(OR(EXACT(A1,B:B)),"2006",IF(OR(EXACT(A1,C:C)), "2005",IF(OR(EXACT(A1,D:D)),"2004",
"NEW"))). Getting #NUM error. Tried CONTROL-SHIFT-ENTER at end, but not sure
if problem is all are not arrayed.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default IF-OR Functions

This also appeared to work, array entered.

=CHOOSE(MIN(IF(EXACT(A1,B2:C3),{1,2},3)),2007,2006 ,"NEW")


"archsmooth" wrote:

I actually got it to work using:
=IF(OR(EXACT(A1,$B$1:$B$6500)),"2007",IF(OR(EXACT( A1,$C$1:$C$6500)),"2006","NEW")) with CONT-SHIFT-ENTER, but will test yours for future use.

"Dave F" wrote:

=IF(ISNUMBER(MATCH(A1,$B$1:$B$6500,0)) is what you want.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"archsmooth" wrote:

I am trying to sort info based on the most recent database it appeared in.
Column A has the Master List, and outlying columns have other info. Column B
has the most recent list (call it 2006), Column C is 2005, Column D 2004. In
Column E I want to put the the most recent list that the items in Column A
show up in. I am trying to use IF(OR(EXACT))) to compare items in Column A
successively with each row. Something like:
=IF(OR(EXACT(A1,B:B)),"2006",IF(OR(EXACT(A1,C:C)), "2005",IF(OR(EXACT(A1,D:D)),"2004",
"NEW"))). Getting #NUM error. Tried CONTROL-SHIFT-ENTER at end, but not sure
if problem is all are not arrayed.

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
IF Functions dzierzekr Excel Worksheet Functions 2 September 13th 06 12:37 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Functions? bern Excel Worksheet Functions 1 February 11th 06 10:22 PM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 08:58 PM.

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"