Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Antony Peter
 
Posts: n/a
Default Using If function

version i use is Excel 2002

Name of file1 is : Workbook1
Name of file2 is: Work book2

Workbook1 - contains two fields (Age & Name)
Age Name
21 tom
22 peter
23 harry

Workbook2 - also contains two fields (Age & Name)

when i enter the age in workbook2 in cell(a1), i need to get the name of
concerned person in cell b1.

For this i have put this formula in workbook2 in cell b1 =if(a1=[Workbook1]
a1,b1, if(a1=[workbook1]a2,b2, if(a1=[workbook1]a3,b3)))
And this worked.

I have just given an example above. The actual data which i have is a big
one. So the above formula is a very complex for me to use.

IS THERE ANY OTHER FORMULA WHICH I COULD USE?









  #2   Report Post  
Rob
 
Posts: n/a
Default

Antony,

Would VLOOKUP be an option? See excel help.

"Antony Peter" wrote in message
...
version i use is Excel 2002

Name of file1 is : Workbook1
Name of file2 is: Work book2

Workbook1 - contains two fields (Age & Name)
Age Name
21 tom
22 peter
23 harry

Workbook2 - also contains two fields (Age & Name)

when i enter the age in workbook2 in cell(a1), i need to get the name of
concerned person in cell b1.

For this i have put this formula in workbook2 in cell b1
=if(a1=[Workbook1]
a1,b1, if(a1=[workbook1]a2,b2, if(a1=[workbook1]a3,b3)))
And this worked.

I have just given an example above. The actual data which i have is a big
one. So the above formula is a very complex for me to use.

IS THERE ANY OTHER FORMULA WHICH I COULD USE?











  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

What happens if there are more than 1 of an age?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Antony Peter" wrote in message
...
version i use is Excel 2002

Name of file1 is : Workbook1
Name of file2 is: Work book2

Workbook1 - contains two fields (Age & Name)
Age Name
21 tom
22 peter
23 harry

Workbook2 - also contains two fields (Age & Name)

when i enter the age in workbook2 in cell(a1), i need to get the name of
concerned person in cell b1.

For this i have put this formula in workbook2 in cell b1

=if(a1=[Workbook1]
a1,b1, if(a1=[workbook1]a2,b2, if(a1=[workbook1]a3,b3)))
And this worked.

I have just given an example above. The actual data which i have is a big
one. So the above formula is a very complex for me to use.

IS THERE ANY OTHER FORMULA WHICH I COULD USE?











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
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Need a ISWorkday Function -- Any Ideas Mark Excel Worksheet Functions 5 March 29th 05 01:58 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM


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