A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Using sumproduct function to count cell values on a remote workbook



 
 
Thread Tools Display Modes
  #1  
Old June 12th 12, 04:03 PM
dylanb02 dylanb02 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 3
Default Using sumproduct function to count cell values on a remote workbook

Hey guys, thanks in advance for help..

I have a function that looks like this right now...
=SUMPRODUCT(--(
'http://someurl.com/[VARIABLE FILE NAME.xlsx]SheetName'!$F$1:$F$65000="P"))

It calls out to a column in another sheet by URL and counts the number of times a certain value is displayed in column F. Right now it only works when I manually type in the URL. What I want to do is somehow update VARIABLE FILE NAME to be the value in a specific cell. Any idea how I could replace Variable File Name with a cell value?
Ads
  #2  
Old June 12th 12, 06:34 PM
Spencer101 Spencer101 is offline
Senior Member
 
First recorded activity by ExcelBanter: Mar 2012
Posts: 655
Default

Quote:
Originally Posted by dylanb02 View Post
Hey guys, thanks in advance for help..

I have a function that looks like this right now...
=SUMPRODUCT(--(
'http://someurl.com/[VARIABLE FILE NAME.xlsx]SheetName'!$F$1:$F$65000="P"))

It calls out to a column in another sheet by URL and counts the number of times a certain value is displayed in column F. Right now it only works when I manually type in the URL. What I want to do is somehow update VARIABLE FILE NAME to be the value in a specific cell. Any idea how I could replace Variable File Name with a cell value?
Hi,

Have a quick Google (other search engines are available ) for how to use the =INDIRECT() function. This 'should' help you out with this query.

Hope it helps

S.
  #3  
Old June 12th 12, 09:29 PM
dylanb02 dylanb02 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 3
Default

Quote:
Originally Posted by Spencer101 View Post
Hi,

Have a quick Google (other search engines are available ) for how to use the =INDIRECT() function. This 'should' help you out with this query.

Hope it helps

S.
Thanks... What I've found is that INDIRECT can't be used if the other documents are not open. Is that accurate?
  #4  
Old June 13th 12, 04:51 AM
dylanb02 dylanb02 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 3
Default

Quote:
Originally Posted by dylanb02 View Post
Thanks... What I've found is that INDIRECT can't be used if the other documents are not open. Is that accurate?

I've also tried playing around with INDIRECT.EXT, PULL functions but haven't had much luck. Any suggestions?
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SUMPRODUCT to count values in separate columns S Stunell Excel Worksheet Functions 4 October 19th 06 11:31 AM
Count If 2 Diff Values Appear on Several Worksheets w/in Workbook Kat Excel Worksheet Functions 5 September 22nd 05 06:44 PM
Function to count unique values? Richard Buttrey Excel Worksheet Functions 5 September 22nd 05 02:58 PM
Sumif function with remote cell references hennis Excel Worksheet Functions 1 August 12th 05 01:54 AM
REMOTE CELL FUNCTION Dan Excel Worksheet Functions 1 June 7th 05 07:06 PM


All times are GMT +1. The time now is 07:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.