Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default VLOOKUP formula not working. HELP!

The below formula is not working. When I used the same formula to pull
the values from cells 2-5 of the accompanying spreadsheets it worked
perfectly. But for cells 6-7 I get "#VALUE!."

Any ideas?

=VLOOKUP($A$5,FIRE!$A$4:$O$30,6,FALSE)+VLOOKUP($A$ 5,AUTO!$A$4:$O
$30,6,FALSE)

Thank you in advance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP formula not working. HELP!

I'd guess that one of those functions was returning text--not a number.

If you put each formula in separate cells, what do you get returned from each.

japc90 wrote:

The below formula is not working. When I used the same formula to pull
the values from cells 2-5 of the accompanying spreadsheets it worked
perfectly. But for cells 6-7 I get "#VALUE!."

Any ideas?

=VLOOKUP($A$5,FIRE!$A$4:$O$30,6,FALSE)+VLOOKUP($A$ 5,AUTO!$A$4:$O
$30,6,FALSE)

Thank you in advance.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default VLOOKUP formula not working. HELP!

On Apr 29, 8:00 pm, Dave Peterson wrote:
I'd guess that one of those functions was returning text--not a number.

If you put each formula in separate cells, what do you get returned from each.

japc90 wrote:

The below formula is not working. When I used the same formula to pull
the values from cells 2-5 of the accompanying spreadsheets it worked
perfectly. But for cells 6-7 I get "#VALUE!."


Any ideas?


=VLOOKUP($A$5,FIRE!$A$4:$O$30,6,FALSE)+VLOOKUP($A$ 5,AUTO!$A$4:$O
$30,6,FALSE)


Thank you in advance.


--

Dave Peterson


No text. If I separate the formula and put it in different cells it
works. But combined it works about 3/4s of the time. It worked after
cells 6&7 but then not for cell 10.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default VLOOKUP formula not working. HELP!

On Apr 29, 8:08 pm, japc90 wrote:
On Apr 29, 8:00 pm, Dave Peterson wrote:





I'd guess that one of those functions was returning text--not a number.


If you put each formula in separate cells, what do you get returned from each.


japc90 wrote:


The below formula is not working. When I used the same formula to pull
the values from cells 2-5 of the accompanying spreadsheets it worked
perfectly. But for cells 6-7 I get "#VALUE!."


Any ideas?


=VLOOKUP($A$5,FIRE!$A$4:$O$30,6,FALSE)+VLOOKUP($A$ 5,AUTO!$A$4:$O
$30,6,FALSE)


Thank you in advance.


--


Dave Peterson


No text. If I separate the formula and put it in different cells it
works. But combined it works about 3/4s of the time. It worked after
cells 6&7 but then not for cell 10.

Thanks!- Hide quoted text -

- Show quoted text -


I think I figured out the problem but not the solution.

Problem: I am using the VLOOKUP to pull data from two separate
spreadsheets within one workbook. I will update these spreadsheets
everyday from a database. Sometimes a person listed on the main
spreadsheet (where the VLOOKUP formula resides) will have data on both
spreadsheets, sometimes their name will only appear on one and
sometimes their name will appear on both but one will have zeros.

I need a formula to cover all of these potential scenarios. I tried:
=IF(VLOOKUP(A7,FIRE!$A$4:$O$30,2,FALSE)=0,0,VLOOKU P(A7,FIRE!$A$4:$O
$30,2,FALSE)+IF(VLOOKUP(A7,AUTO!$A$4:$O
$29,2,FALSE)=0,0,VLOOKUP(A7,AUTO!$A$4:$O$29,2,FALS E))). Didn't work.

Any suggestions?

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP formula not working. HELP!

You could look for a match in portion of the formula:

=if(isna(vlookup(...)),0,vlookup(....))
+if(isna(vlookup(...)),0,vlookup(....))

The top line will do the Fire worksheet. The bottom line will do the Auto
worksheet.

japc90 wrote:

On Apr 29, 8:08 pm, japc90 wrote:
On Apr 29, 8:00 pm, Dave Peterson wrote:





I'd guess that one of those functions was returning text--not a number.


If you put each formula in separate cells, what do you get returned from each.


japc90 wrote:


The below formula is not working. When I used the same formula to pull
the values from cells 2-5 of the accompanying spreadsheets it worked
perfectly. But for cells 6-7 I get "#VALUE!."


Any ideas?


=VLOOKUP($A$5,FIRE!$A$4:$O$30,6,FALSE)+VLOOKUP($A$ 5,AUTO!$A$4:$O
$30,6,FALSE)


Thank you in advance.


--


Dave Peterson


No text. If I separate the formula and put it in different cells it
works. But combined it works about 3/4s of the time. It worked after
cells 6&7 but then not for cell 10.

Thanks!- Hide quoted text -

- Show quoted text -


I think I figured out the problem but not the solution.

Problem: I am using the VLOOKUP to pull data from two separate
spreadsheets within one workbook. I will update these spreadsheets
everyday from a database. Sometimes a person listed on the main
spreadsheet (where the VLOOKUP formula resides) will have data on both
spreadsheets, sometimes their name will only appear on one and
sometimes their name will appear on both but one will have zeros.

I need a formula to cover all of these potential scenarios. I tried:
=IF(VLOOKUP(A7,FIRE!$A$4:$O$30,2,FALSE)=0,0,VLOOKU P(A7,FIRE!$A$4:$O
$30,2,FALSE)+IF(VLOOKUP(A7,AUTO!$A$4:$O
$29,2,FALSE)=0,0,VLOOKUP(A7,AUTO!$A$4:$O$29,2,FALS E))). Didn't work.

Any suggestions?

Thanks!


--

Dave Peterson


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 not working SMRE Excel Worksheet Functions 1 September 29th 06 04:50 PM
VLOOKUP NOT WORKING missymissy Excel Discussion (Misc queries) 4 September 15th 06 10:01 AM
VLOOKUP example not working... steph44haf Excel Worksheet Functions 3 August 8th 06 02:33 PM
vlookup formula not working with data on separate sheet akee Excel Worksheet Functions 18 March 16th 06 03:18 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM


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