RE: $$Excel-Macros$$ indirect function help

2012-03-01 Thread Asa Rossoff
Hello Selva!
So glad Noorain's suggestion worked for you.  The apostrophes/single quotes
by-the-way are only needed for surrounding sheet names.

Take care :)
Asa

-Original Message-
From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of LearnExcel
Sent: Thursday, March 01, 2012 2:28 PM
To: MS EXCEL AND VBA MACROS
Subject: Re: $$Excel-Macros$$ indirect function help

Thanks guys...works like a charm.

your all like angles but just more down to earth



On Mar 1, 1:14 pm, NOORAIN ANSARI  wrote:
> Dear Selva,
>
> Please see attached sheet, hope your requirement is this.
>
>
>
>
>
>
>
>
>
> On Thu, Mar 1, 2012 at 10:43 PM, LearnExcel  wrote:
> > thanks guys, is there any reason why the following isnt's working
>
> > a6 = sheet name
> > h6 = name of the criteria
> > **the criteria is a name "Phone"
>
> > all i get it 0
>
> > COUNTIF(INDIRECT("'"&A6&"'!g:g"),INDIRECT("'"&"h6"))
>
> > On Feb 29, 5:59 pm, "Asa Rossoff"  wrote:
> > > =SUM(INDIRECT("'"&A6&"'!G:G"))
>
> > > -----Original Message-
> > > From: excel-macros@googlegroups.com [mailto:
> > excel-macros@googlegroups.com]
>
> > > On Behalf Of LearnExcel
> > > Sent: Wednesday, February 29, 2012 2:34 PM
> > > To: MS EXCEL AND VBA MACROS
> > > Subject: $$Excel-Macros$$ indirect function help
>
> > > HI team, can you please help out on the following
>
> > > I'm using a indirect function but i'm unalbe to get it to work in cell
> > > "A6" if there ia name "sheet2" the forluma works just fine but when
> > > the sheet name is "My Main File" it proivded an REF error is there a
> > > rix for this?
>
> > > =SUM(INDIRECT(A6&"!G:G"))
>
> > > --
> > > FORUM RULES (986+ members already BANNED for violation)
>
> > > 1) Use concise, accurate thread titles. Poor thread titles, like
Please
> > > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
Advice
> > will
> > > not get quick attention or may not be answered.
>
> > > 2) Don't post a question in the thread of another member.
>
> > > 3) Don't post questions regarding breaking or bypassing any security
> > > measure.
>
> > > 4) Acknowledge the responses you receive, good or bad.
>
> > > 5)  Cross-promotion of, or links to, forums competitive to this forum
in
> > > signatures are prohibited.
>
> > > NOTE  : Don't ever post personal or confidential data in a workbook.
> > Forum
> > > owners and members are not responsible for any loss.
>
> >
---
> > -
> > > --
> > > To post to this group, send email to excel-macros@googlegroups.com
>
> > --
> > FORUM RULES (986+ members already BANNED for violation)
>
> > 1) Use concise, accurate thread titles. Poor thread titles, like Please
> > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> > will not get quick attention or may not be answered.
>
> > 2) Don't post a question in the thread of another member.
>
> > 3) Don't post questions regarding breaking or bypassing any security
> > measure.
>
> > 4) Acknowledge the responses you receive, good or bad.
>
> > 5)  Cross-promotion of, or links to, forums competitive to this forum in
> > signatures are prohibited.
>
> > NOTE  : Don't ever post personal or confidential data in a workbook.
Forum
> > owners and members are not responsible for any loss.
>
> >
---
---
> > To post to this group, send email to excel-macros@googlegroups.com
>
> --
> Thanks & regards,
> Noorain Ansari
>  ** <http://excelmacroworld.blogspot.com/>*http://noorainansari.com/*
>
*http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
>
>  example(Selva).xlsx
> 11KViewDownload

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security
measure.

4) Acknowledge the respo

Re: $$Excel-Macros$$ indirect function help

2012-03-01 Thread LearnExcel
Thanks guys...works like a charm.

your all like angles but just more down to earth



On Mar 1, 1:14 pm, NOORAIN ANSARI  wrote:
> Dear Selva,
>
> Please see attached sheet, hope your requirement is this.
>
>
>
>
>
>
>
>
>
> On Thu, Mar 1, 2012 at 10:43 PM, LearnExcel  wrote:
> > thanks guys, is there any reason why the following isnt's working
>
> > a6 = sheet name
> > h6 = name of the criteria
> > **the criteria is a name "Phone"
>
> > all i get it 0
>
> > COUNTIF(INDIRECT("'"&A6&"'!g:g"),INDIRECT("'"&"h6"))
>
> > On Feb 29, 5:59 pm, "Asa Rossoff"  wrote:
> > > =SUM(INDIRECT("'"&A6&"'!G:G"))
>
> > > -Original Message-----
> > > From: excel-macros@googlegroups.com [mailto:
> > excel-macros@googlegroups.com]
>
> > > On Behalf Of LearnExcel
> > > Sent: Wednesday, February 29, 2012 2:34 PM
> > > To: MS EXCEL AND VBA MACROS
> > > Subject: $$Excel-Macros$$ indirect function help
>
> > > HI team, can you please help out on the following
>
> > > I'm using a indirect function but i'm unalbe to get it to work in cell
> > > "A6" if there ia name "sheet2" the forluma works just fine but when
> > > the sheet name is "My Main File" it proivded an REF error is there a
> > > rix for this?
>
> > > =SUM(INDIRECT(A6&"!G:G"))
>
> > > --
> > > FORUM RULES (986+ members already BANNED for violation)
>
> > > 1) Use concise, accurate thread titles. Poor thread titles, like Please
> > > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> > will
> > > not get quick attention or may not be answered.
>
> > > 2) Don't post a question in the thread of another member.
>
> > > 3) Don't post questions regarding breaking or bypassing any security
> > > measure.
>
> > > 4) Acknowledge the responses you receive, good or bad.
>
> > > 5)  Cross-promotion of, or links to, forums competitive to this forum in
> > > signatures are prohibited.
>
> > > NOTE  : Don't ever post personal or confidential data in a workbook.
> > Forum
> > > owners and members are not responsible for any loss.
>
> > ---
> > -
> > > --
> > > To post to this group, send email to excel-macros@googlegroups.com
>
> > --
> > FORUM RULES (986+ members already BANNED for violation)
>
> > 1) Use concise, accurate thread titles. Poor thread titles, like Please
> > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> > will not get quick attention or may not be answered.
>
> > 2) Don't post a question in the thread of another member.
>
> > 3) Don't post questions regarding breaking or bypassing any security
> > measure.
>
> > 4) Acknowledge the responses you receive, good or bad.
>
> > 5)  Cross-promotion of, or links to, forums competitive to this forum in
> > signatures are prohibited.
>
> > NOTE  : Don't ever post personal or confidential data in a workbook. Forum
> > owners and members are not responsible for any loss.
>
> > --- 
> > ---
> > To post to this group, send email to excel-macros@googlegroups.com
>
> --
> Thanks & regards,
> Noorain Ansari
>  ** <http://excelmacroworld.blogspot.com/>*http://noorainansari.com/*
> *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
>
>  example(Selva).xlsx
> 11KViewDownload

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ indirect function help

2012-03-01 Thread NOORAIN ANSARI
Dear Selva,

Please see attached sheet, hope your requirement is this.

On Thu, Mar 1, 2012 at 10:43 PM, LearnExcel  wrote:

> thanks guys, is there any reason why the following isnt's working
>
> a6 = sheet name
> h6 = name of the criteria
> **the criteria is a name "Phone"
>
> all i get it 0
>
> COUNTIF(INDIRECT("'"&A6&"'!g:g"),INDIRECT("'"&"h6"))
>
>
>
> On Feb 29, 5:59 pm, "Asa Rossoff"  wrote:
> > =SUM(INDIRECT("'"&A6&"'!G:G"))
> >
> >
> >
> >
> >
> >
> >
> > -Original Message-----
> > From: excel-macros@googlegroups.com [mailto:
> excel-macros@googlegroups.com]
> >
> > On Behalf Of LearnExcel
> > Sent: Wednesday, February 29, 2012 2:34 PM
> > To: MS EXCEL AND VBA MACROS
> > Subject: $$Excel-Macros$$ indirect function help
> >
> > HI team, can you please help out on the following
> >
> > I'm using a indirect function but i'm unalbe to get it to work in cell
> > "A6" if there ia name "sheet2" the forluma works just fine but when
> > the sheet name is "My Main File" it proivded an REF error is there a
> > rix for this?
> >
> > =SUM(INDIRECT(A6&"!G:G"))
> >
> > --
> > FORUM RULES (986+ members already BANNED for violation)
> >
> > 1) Use concise, accurate thread titles. Poor thread titles, like Please
> > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will
> > not get quick attention or may not be answered.
> >
> > 2) Don't post a question in the thread of another member.
> >
> > 3) Don't post questions regarding breaking or bypassing any security
> > measure.
> >
> > 4) Acknowledge the responses you receive, good or bad.
> >
> > 5)  Cross-promotion of, or links to, forums competitive to this forum in
> > signatures are prohibited.
> >
> > NOTE  : Don't ever post personal or confidential data in a workbook.
> Forum
> > owners and members are not responsible for any loss.
> >
> >
> ---
> -
> > --
> > To post to this group, send email to excel-macros@googlegroups.com
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5)  Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE  : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> --
> To post to this group, send email to excel-macros@googlegroups.com
>



-- 
Thanks & regards,
Noorain Ansari
 ** <http://excelmacroworld.blogspot.com/>*http://noorainansari.com/*
*http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


example(Selva).xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ indirect function help

2012-03-01 Thread LearnExcel
thanks guys, is there any reason why the following isnt's working

a6 = sheet name
h6 = name of the criteria
**the criteria is a name "Phone"

all i get it 0

COUNTIF(INDIRECT("'"&A6&"'!g:g"),INDIRECT("'"&"h6"))



On Feb 29, 5:59 pm, "Asa Rossoff"  wrote:
> =SUM(INDIRECT("'"&A6&"'!G:G"))
>
>
>
>
>
>
>
> -Original Message-
> From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
>
> On Behalf Of LearnExcel
> Sent: Wednesday, February 29, 2012 2:34 PM
> To: MS EXCEL AND VBA MACROS
> Subject: $$Excel-Macros$$ indirect function help
>
> HI team, can you please help out on the following
>
> I'm using a indirect function but i'm unalbe to get it to work in cell
> "A6" if there ia name "sheet2" the forluma works just fine but when
> the sheet name is "My Main File" it proivded an REF error is there a
> rix for this?
>
> =SUM(INDIRECT(A6&"!G:G"))
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
> not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5)  Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE  : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
> --- -
> --
> To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


RE: $$Excel-Macros$$ indirect function help

2012-02-29 Thread Asa Rossoff
=SUM(INDIRECT("'"&A6&"'!G:G"))

-Original Message-
From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of LearnExcel
Sent: Wednesday, February 29, 2012 2:34 PM
To: MS EXCEL AND VBA MACROS
Subject: $$Excel-Macros$$ indirect function help

HI team, can you please help out on the following

I'm using a indirect function but i'm unalbe to get it to work in cell
"A6" if there ia name "sheet2" the forluma works just fine but when
the sheet name is "My Main File" it proivded an REF error is there a
rix for this?




=SUM(INDIRECT(A6&"!G:G"))

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security
measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.


--
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ indirect function help

2012-02-29 Thread dguillett1

Due to spaces in sheet name. I ALWAYS avoid.



Don Guillett
SalesAid Software
dguille...@gmail.com
-Original Message- 
From: LearnExcel

Sent: Wednesday, February 29, 2012 4:33 PM
To: MS EXCEL AND VBA MACROS
Subject: $$Excel-Macros$$ indirect function help

HI team, can you please help out on the following

I'm using a indirect function but i'm unalbe to get it to work in cell
"A6" if there ia name "sheet2" the forluma works just fine but when
the sheet name is "My Main File" it proivded an REF error is there a
rix for this?




=SUM(INDIRECT(A6&"!G:G"))

--
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please 
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will 
not get quick attention or may not be answered.


2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security 
measure.


4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited.


NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.


--
To post to this group, send email to excel-macros@googlegroups.com 


--
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 


NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


$$Excel-Macros$$ indirect function help

2012-02-29 Thread LearnExcel
HI team, can you please help out on the following

I'm using a indirect function but i'm unalbe to get it to work in cell
"A6" if there ia name "sheet2" the forluma works just fine but when
the sheet name is "My Main File" it proivded an REF error is there a
rix for this?




=SUM(INDIRECT(A6&"!G:G"))

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com