Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default lookup folmula i/e n/a

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default lookup folmula i/e n/a

This work?
=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),
0,LOOKUP(9.99999999999999E+307,L7:L516))

gwbdirect wrote:
I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have value’s and I
want to add them up for a total and n/a won’t allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default lookup folmula i/e n/a

FANTASTIC, THANKS FOR ALL YOUR HELP.

"JW" wrote:

This work?
=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),
0,LOOKUP(9.99999999999999E+307,L7:L516))

gwbdirect wrote:
I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default lookup folmula i/e n/a

=if(isna(LOOKUP(9.99999999999999E+307,L7:L516),0,L OOKUP(9.99999999999999E+307,L7:L516))


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default lookup folmula i/e n/a

Joel,

You left out a parenthesis before the first comma, should have two.

Alan


"Joel" wrote:

=if(isna(LOOKUP(9.99999999999999E+307,L7:L516),0,L OOKUP(9.99999999999999E+307,L7:L516))


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default lookup folmula i/e n/a

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default lookup folmula i/e n/a

Alan: You should have double quotes around your zero. It is a number not a
string.

"Alan" wrote:

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default lookup folmula i/e n/a

You are correct, at least my formula doesn't error.

"Joel" wrote:

Alan: You should have double quotes around your zero. It is a number not a
string.

"Alan" wrote:

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default lookup folmula i/e n/a

You would get wrong results if you tried to used the results from your
formula in any arithmetic operation.

"Alan" wrote:

You are correct, at least my formula doesn't error.

"Joel" wrote:

Alan: You should have double quotes around your zero. It is a number not a
string.

"Alan" wrote:

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default lookup folmula i/e n/a

You can use the "0" string * 1 in another formula.

I appreciate you trying to set me straight, but please pay more attention to
your own posts. Your first attempt at the formula errors out, and your
correction of my formula, "You should have double quotes around your zero",
also errors.



"Joel" wrote:

You would get wrong results if you tried to used the results from your
formula in any arithmetic operation.

"Alan" wrote:

You are correct, at least my formula doesn't error.

"Joel" wrote:

Alan: You should have double quotes around your zero. It is a number not a
string.

"Alan" wrote:

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks



  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default lookup folmula i/e n/a

WORKS GREAT. THANKS FOR YOUR SUPPORT.

"Alan" wrote:

=IF(ISNA(LOOKUP(9.99999999999999E+307,L7:L516)),"0 ",LOOKUP(9.99999999999999E+307,L7:L516))

Alan


"gwbdirect" wrote:

I am using this formula to get the last value in the column
=LOOKUP(9.99999999999999E+307,L7:L516)
The problem is when it has no value instead of 0 it gives me #n/a.
This is a problem because I have different sheets that have values and I
want to add them up for a total and n/a wont allow me to get a total. Is
there a solution or another formula that would give me a 0 instead of n/a
thanks

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
lookup help. lookup result based on data in 2 columns lcc Excel Worksheet Functions 3 April 6th 10 01:20 PM
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
I need help with an folmula for hunting / matching names and value Whayne Excel Worksheet Functions 1 July 20th 05 08:49 PM


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