Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default Problems manipulating a EXCEL Worksheet based on a SharePoint List

I'm exporting data from a form library view in WSS to excel using the
SharePoint capabilities and this works fine, but later I'm trying to program
a Macro that give format and calculate statistics for the library figures
using the excel functions, but apparently the exported Sharepoint list have
access limitations becuase the formulas simple doen't work, and are easy
formulas like SUM(list84063!D2:D6) or AVERAGE(list84063!E2:E6), I simple
reveive bad results as empty spaces or 0 eve when the list have values.

Have anybody an idea about what could be happednand how to get full access
to the exported figures?

I test inserting manully the formulas after the list and works fine, but if
I use a macro to automate the process on the same Sheet or another sheet the
results fails as described.

I will apprecite any help


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Problems manipulating a EXCEL Worksheet based on a SharePoint List

this type of problem is generally because the data, although it appears as
numeric, is stored as text. You can try using a formula like

=SUMProduct(--(list84063!D2:D6))

or
=SUMProduct(list84063!D2:D6*1)

for average, you would need to do
=Average(list84063!D2:D6*1)
and enter the formula with Ctrl+shift+enter rather than just enter since
this is an array formula.

An alternative would be to clean up you data.

On way to convert it to numbers is to format the columns as General.

then put 0 in a blank cell, copy it to the clipboard, then select the data
and do Edit=Paste Special and select Values and ADD.

another is to select the column and do Data=Text to Columns, select
delimited and space as the delimiter. This should cause them to be
reevaluated as numbers.

--
Regards,
Tom Ogilvy


"Daniel" wrote:

I'm exporting data from a form library view in WSS to excel using the
SharePoint capabilities and this works fine, but later I'm trying to program
a Macro that give format and calculate statistics for the library figures
using the excel functions, but apparently the exported Sharepoint list have
access limitations becuase the formulas simple doen't work, and are easy
formulas like SUM(list84063!D2:D6) or AVERAGE(list84063!E2:E6), I simple
reveive bad results as empty spaces or 0 eve when the list have values.

Have anybody an idea about what could be happednand how to get full access
to the exported figures?

I test inserting manully the formulas after the list and works fine, but if
I use a macro to automate the process on the same Sheet or another sheet the
results fails as described.

I will apprecite any help


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
Excel 2003 List Syn with Sharepoint RobM Excel Discussion (Misc queries) 0 August 14th 08 04:45 PM
Sharepoint List to Excel with Totals Dave_Tho1968 Excel Discussion (Misc queries) 0 October 22nd 07 09:22 PM
problems importing Excel 2007 table into SharePoint 2003 Mark Sampson Excel Discussion (Misc queries) 0 August 30th 07 10:44 AM
Can't Synchronize Excel List with Sharepoint TommyVee Excel Discussion (Misc queries) 0 July 27th 07 10:08 PM
manipulating Excel checkbox from VB based exe Mark[_51_] Excel Programming 2 November 30th 04 04:20 AM


All times are GMT +1. The time now is 08:42 PM.

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"