#1   Report Post  
Lynneth
 
Posts: n/a
Default If and Vlookup


Is it possible to use the If function and Vlookup together?

eg

if(vlookup(a7,may,3),((F14*F9)-(F13*F10))*(1-F$6)

I am trying to lookup a value in a table but if it is not there, I want
it to put in the formula

Thank you
Lynne


--
Lynneth
------------------------------------------------------------------------
Lynneth's Profile: http://www.excelforum.com/member.php...o&userid=26102
View this thread: http://www.excelforum.com/showthread...hreadid=394316

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Lynneth Wrote:
Is it possible to use the If function and Vlookup together?

eg

if(vlookup(a7,may,3),((F14*F9)-(F13*F10))*(1-F$6)

I am trying to lookup a value in a table but if it is not there, I want
it to put in the formula

Thank you
Lynne


Yes you can!! Make your formula look like this:

=IF(ISNA(VLOOKUP(a7,may,3)),((F14*F9)-(F13*F10))*(1-F$6),VLOOKUP(VLOOKUP(a7,may,3))

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=394316

  #3   Report Post  
Lynneth
 
Posts: n/a
Default


Thank you so much

I have tried for hours and hours to get this to work. It seemed such a
simple logical formula, but it didn't quite work out that way.

Bless your heart

Lynne


--
Lynneth
------------------------------------------------------------------------
Lynneth's Profile: http://www.excelforum.com/member.php...o&userid=26102
View this thread: http://www.excelforum.com/showthread...hreadid=394316

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
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Convert VLOOKUP to absolute cell reference Rich Excel Discussion (Misc queries) 2 August 6th 05 03:49 AM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 05:19 PM.

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"