Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default If(and statements using data in an array

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default If(and statements using data in an array

You don't need the curly brackets.

"Lou H" wrote:

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default If(and statements using data in an array

Just tried it and it doesn't work although its now returning 0 rather than
#NUM - would it something to do with the lookup data being text ?

"Joel" wrote:

You don't need the curly brackets.

"Lou H" wrote:

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default If(and statements using data in an array

The formula is working, yo ujust aren't getting the results you expect. I
debug formulas using the Evalute formula tool. Select thhe cells with the
formula then use menu

Worksheet Menu - Tools - Formula Auditing - Evaluate Formula

"Lou H" wrote:

Just tried it and it doesn't work although its now returning 0 rather than
#NUM - would it something to do with the lookup data being text ?

"Joel" wrote:

You don't need the curly brackets.

"Lou H" wrote:

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default If(and statements using data in an array

Would that be an add-in option?

"Joel" wrote:

The formula is working, yo ujust aren't getting the results you expect. I
debug formulas using the Evalute formula tool. Select thhe cells with the
formula then use menu

Worksheet Menu - Tools - Formula Auditing - Evaluate Formula

"Lou H" wrote:

Just tried it and it doesn't work although its now returning 0 rather than
#NUM - would it something to do with the lookup data being text ?

"Joel" wrote:

You don't need the curly brackets.

"Lou H" wrote:

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default If(and statements using data in an array

No. It is just a tool for debugging a worksheet.

"Lou H" wrote:

Would that be an add-in option?

"Joel" wrote:

The formula is working, yo ujust aren't getting the results you expect. I
debug formulas using the Evalute formula tool. Select thhe cells with the
formula then use menu

Worksheet Menu - Tools - Formula Auditing - Evaluate Formula

"Lou H" wrote:

Just tried it and it doesn't work although its now returning 0 rather than
#NUM - would it something to do with the lookup data being text ?

"Joel" wrote:

You don't need the curly brackets.

"Lou H" wrote:

I would love some help with the following statement. {=if(and(b2='DBP -
09'!D:D,C2='DBP - 09'!E:E),'DBP - 09'!K:K,0)}. I've previously used excel
97 and am now using excel2000, so not sure if something has changed from that
version to this. The formula returns a #Num error. I've tried every
combination and can't get it to work. The sheet called 'DBP-09' contains
names and salary details. I'm looking up the person's first and last name
and returning the salary value for that person (obviously,where there's a
match found). Help greatly appreciated!!

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 statements in Data Validation lost and confused in excel-land[_2_] Excel Worksheet Functions 7 July 12th 08 05:41 PM
Data Validation - IF statements CC[_3_] New Users to Excel 7 September 10th 07 05:58 AM
IF statements and moving data to different columns Rhythm Excel Worksheet Functions 1 November 10th 05 02:04 PM
Data Validation w/ If, Match & Index Statements Dominique Feteau Excel Worksheet Functions 2 December 18th 04 08:15 AM
Problem with data using IF and Nested IF statements possibly??? Ajay Excel Discussion (Misc queries) 2 December 9th 04 09:23 AM


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