Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sum column with na from v lookup

The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a sum
function so that I do not have to use the auto filter on my large spreadsheet
and the sort it would require.

Donna
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sum column with na from v lookup


if all values are positive then simply use SUMIF function
=SUMIF(A5:A100,"0")
i supposed that your data which you want to sum is in the range of
A5:A100
you can adjust this range according to your data.

DERICKSON Wrote:
The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory
Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded
final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which
are
showing in the column as a result of the vlookup? I would like to find
a sum
function so that I do not have to use the auto filter on my large
spreadsheet
and the sort it would require.

Donna



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=573389

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sum column with na from v lookup

=SUMIF(H1:H5,"<#N/A")

as an example

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"DERICKSON" wrote in message
...
The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded

final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a

sum
function so that I do not have to use the auto filter on my large

spreadsheet
and the sort it would require.

Donna



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 296
Default sum column with na from v lookup

On Sat, 19 Aug 2006 05:35:01 -0700, DERICKSON
wrote:

The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a sum
function so that I do not have to use the auto filter on my large spreadsheet
and the sort it would require.

Donna


Try wrapping your lookup formulae in an If(Iserror) formula.

i.e.

=IF(ISERROR(Vlookup(yourextremelylongformula)),0,V lookup(yourextremelylongformula))

Then you won't have any #N/As and a Sum will work fine.

HTH


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default sum column with na from v lookup

=SUM(SUMIF(Range,{"<0","0"}))

DERICKSON wrote:
The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a sum
function so that I do not have to use the auto filter on my large spreadsheet
and the sort it would require.

Donna



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sum column with na from v lookup

Thank you!

"Aladin Akyurek" wrote:

=SUM(SUMIF(Range,{"<0","0"}))

DERICKSON wrote:
The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a sum
function so that I do not have to use the auto filter on my large spreadsheet
and the sort it would require.

Donna


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sum column with na from v lookup

Thank you!

"starguy" wrote:


if all values are positive then simply use SUMIF function
=SUMIF(A5:A100,"0")
i supposed that your data which you want to sum is in the range of
A5:A100
you can adjust this range according to your data.

DERICKSON Wrote:
The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory
Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded
final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which
are
showing in the column as a result of the vlookup? I would like to find
a sum
function so that I do not have to use the auto filter on my large
spreadsheet
and the sort it would require.

Donna



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=573389


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sum column with na from v lookup

l'll try this next time I do a vlookup when I do not need to also see the
value of -0-. I actually do need to see the #N/A for comparison reasons in
this spreadsheet.

I will have many other times this will be useful. Thank you!

"Richard Buttrey" wrote:

On Sat, 19 Aug 2006 05:35:01 -0700, DERICKSON
wrote:

The column I am trying to sum contains the formula
=VLOOKUP(B620,'S:\Accounting\Donna\SAP Go Live\[Go Live Inventory Download
080806 Rec to 1550 081706 dje.xls]1550 not loaded final'!$B$3:$F$125,5,FALSE)

Is there a Sum Formula I can write that excludes the #N/A values which are
showing in the column as a result of the vlookup? I would like to find a sum
function so that I do not have to use the auto filter on my large spreadsheet
and the sort it would require.

Donna


Try wrapping your lookup formulae in an If(Iserror) formula.

i.e.

=IF(ISERROR(Vlookup(yourextremelylongformula)),0,V lookup(yourextremelylongformula))

Then you won't have any #N/As and a Sum will work fine.

HTH


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

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
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Lookup then Match and insert value from next column Tenacity Excel Worksheet Functions 3 March 4th 05 02:49 AM


All times are GMT +1. The time now is 02:20 AM.

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"