Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2013, 07:30 AM
samc samc is offline If lookup function Windows 7 64bit If lookup function Office 2010 64bit
Novice
If lookup function
 
Join Date: Mar 2013
Posts: 2
samc is on a distinguished road
Default If lookup function

Hi,

I'm new to Excel.

I'm mapping ages to categories (e.g. age 5 to 0-5 in next field). The formula below works except for age 0, with which I get a #NAME? error.

Just wondering if anyone has any ideas about what the problem might be?

=IF(AS7, LOOKUP(AS7, Sheet3!$A$1:$B$25), exact)
Reply With Quote
  #2  
Old 03-08-2013, 10:12 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline If lookup function Windows 7 64bit If lookup function Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi
try =IF(AS7, LOOKUP(AS7, Sheet3!$A$1:$B$25), "exact")
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 03-09-2013, 05:21 PM
samc samc is offline If lookup function Windows 7 64bit If lookup function Office 2010 64bit
Novice
If lookup function
 
Join Date: Mar 2013
Posts: 2
samc is on a distinguished road
Default

Hi. I think I solved the problem. I didn't need an if function:

=VLOOKUP(AS6, Sheet3!$A$1:$B$25, 2,FALSE)

Thanks.
Reply With Quote
  #4  
Old 03-10-2013, 02:46 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline If lookup function Windows 7 64bit If lookup function Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Glad you found your answer
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup Macro Cardinal2 Excel Programming 2 02-05-2013 05:50 PM
Lookup angie.chang Excel 1 07-27-2012 09:45 PM
If lookup function Possible Lookup Karen222 Excel 3 01-10-2012 05:41 AM
If lookup function LookUp aztiguen24 Excel 5 05-24-2011 03:57 AM
If lookup function Using the LOOKUP Command Grapejuice Excel 2 10-15-2008 02:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft