Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default formula needed

Hello,
I hope I can explaine this well enough. I am using two worksheets. Worksheet 1 is an imported file, worksheet 2 is where all my calculations are getting done. Sheet 1 column A and column C are the only two columns I need to look at. Sheet 2 has the values of what I am looking for in sheet 1. All data is also alpha characters. No numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times on sheet 1. When finding value, count cell in column A as long as long as it is not blank.

Thanks for any help you can give.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Need a better explanation!

When finding value, count cell in column A as long as long
as it is not blank.


That doesn't make sense!

Biff

"Darrell" wrote in message
...

Hello,
I hope I can explaine this well enough. I am using two worksheets.
Worksheet 1 is an imported file, worksheet 2 is where all my
calculations are getting done. Sheet 1 column A and column C are the
only two columns I need to look at. Sheet 2 has the values of what I am
looking for in sheet 1. All data is also alpha characters. No numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times
on sheet 1. When finding value, count cell in column A as long as long
as it is not blank.

Thanks for any help you can give.


--
Darrell



  #3   Report Post  
paul
 
Posts: n/a
Default

as Biff said your explanation is a bit vaugue.Have you looked at the count
functions (count,counta, countif)
--
hope this helps
Paul


"Darrell" wrote:


Hello,
I hope I can explaine this well enough. I am using two worksheets.
Worksheet 1 is an imported file, worksheet 2 is where all my
calculations are getting done. Sheet 1 column A and column C are the
only two columns I need to look at. Sheet 2 has the values of what I am
looking for in sheet 1. All data is also alpha characters. No numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times
on sheet 1. When finding value, count cell in column A as long as long
as it is not blank.

Thanks for any help you can give.


--
Darrell

  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Darrell

i'm going to assume you meant, count the number in column A of sheet1 as
long as the value in column C of sheet 1 is not blank
formula on Sheet2 is (where the value you're looking up is in cell A2)

=SUMPRODUCT(--(Sheet1!$A$1:$A$100=A2),--(Sheet1!$C$1:$C$100<""))
check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html
for details on the sumproduct function
--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Darrell" wrote in message
...

Hello,
I hope I can explaine this well enough. I am using two worksheets.
Worksheet 1 is an imported file, worksheet 2 is where all my
calculations are getting done. Sheet 1 column A and column C are the
only two columns I need to look at. Sheet 2 has the values of what I am
looking for in sheet 1. All data is also alpha characters. No numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times
on sheet 1. When finding value, count cell in column A as long as long
as it is not blank.

Thanks for any help you can give.


--
Darrell



  #5   Report Post  
Junior Member
 
Posts: 3
Default

Hope I can clarify. Here is an example of what I'm working with. Sheet One is Raw Data dumped in from a seperate report. Sheet 2 is where I'm doing all my work. Sheet One can not be changed around because it is used by other calculations. Also, Sheet One has 3 columns where column B is unneeded information. No Cell will actually contain a number. It is all Text except for the desired result.
SHEET 1
Customer 1 Product 1
Product 1
Product 1
Customer 2 Product 2
Product 2
Product 2
Customer 3 Product 1
Product 1
Product 1
SHEET 2
Product 1 =2
Product 2 =1
Product 3 =


I want the formula, for example, to search for Product 1 (to count the number of customers using a specific product) on sheet One. When seeing product 1 in Column C, I want it to check Column A for text. If A is populated, then count, so the result for this example would be Product 1 = 2. The products are listed on Sheet 2 where the result is to be posted.



  #6   Report Post  
Gary's Student
 
Posts: n/a
Default

You can accomplish your counting without any formulae.

Step1 - since you can't change Sheet1, copy it into another sheet(say Sheet3)

Step2 - in Sheet3, delete column B (it is useless)

Step3 - in Sheet3 insert a header row at the very top of the sheet and put
labels ontop of your two columns (Customer and Product)

Step 4- in Sheet 3 select your two columns and
Data - Pivot Table - Next - Next -Layout

then drag Product into the Row section of the template and drag Customer
into the Data area of the template

OK - Finish

The resulting Pivot Table should give you exactly what you want.
--
Gary's Student


"Darrell" wrote:


Hope I can clarify. Here is an example of what I'm working with. Sheet
One is Raw Data dumped in from a seperate report. Sheet 2 is where I'm
doing all my work. Sheet One can not be changed around because it is
used by other calculations. Also, Sheet One has 3 columns where column
B is unneeded information. No Cell will actually contain a number. It
is all Text except for the desired result.
SHEET 1
Customer 1 Product 1
Product 1
Product 1
Customer 2 Product 2
Product 2
Product 2
Customer 3 Product 1
Product 1
Product 1
SHEET 2
Product 1 =2
Product 2 =1
Product 3 =


I want the formula, for example, to search for Product 1 (to count the
number of customers using a specific product) on sheet One. When seeing
product 1 in Column C, I want it to check Column A for text. If A is
populated, then count, so the result for this example would be Product
1 = 2. The products are listed on Sheet 2 where the result is to be
posted.

JulieD Wrote:
Hi Darrell

i'm going to assume you meant, count the number in column A of sheet1
as
long as the value in column C of sheet 1 is not blank
formula on Sheet2 is (where the value you're looking up is in cell A2)

=SUMPRODUCT(--(Sheet1!$A$1:$A$100=A2),--(Sheet1!$C$1:$C$100""))
check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html
for details on the sumproduct function
--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Darrell" wrote in message
...-

Hello,
I hope I can explaine this well enough. I am using two worksheets.
Worksheet 1 is an imported file, worksheet 2 is where all my
calculations are getting done. Sheet 1 column A and column C are the
only two columns I need to look at. Sheet 2 has the values of what I
am
looking for in sheet 1. All data is also alpha characters. No
numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times
on sheet 1. When finding value, count cell in column A as long as
long
as it is not blank.

Thanks for any help you can give.


--
Darrell-



--
Darrell

  #7   Report Post  
Junior Member
 
Posts: 3
Default

Thanks for the help. I like that way a lot better. I actually got a formula to work, and it probably follows along with the suggested earlier. It is written with the names of the tabs I had to use, but maybe someone else will be able to use it. Again, thanks to everyone.

=SUMPRODUCT(--('Call Frequency'!$A$1:$A$50000<"")/COUNTIF('Call Frequency'!$A$1:$A$50000,'Call Frequency'!$A$1:$A$50000&""),--('Call Frequency'!$C$1:$C$50000='Repeat Model Type Breakdown'!A2))


Quote:
Originally Posted by Gary's Student
You can accomplish your counting without any formulae.

Step1 - since you can't change Sheet1, copy it into another sheet(say Sheet3)

Step2 - in Sheet3, delete column B (it is useless)

Step3 - in Sheet3 insert a header row at the very top of the sheet and put
labels ontop of your two columns (Customer and Product)

Step 4- in Sheet 3 select your two columns and
Data - Pivot Table - Next - Next -Layout

then drag Product into the Row section of the template and drag Customer
into the Data area of the template

OK - Finish

The resulting Pivot Table should give you exactly what you want.
--
Gary's Student


"Darrell" wrote:


Hope I can clarify. Here is an example of what I'm working with. Sheet
One is Raw Data dumped in from a seperate report. Sheet 2 is where I'm
doing all my work. Sheet One can not be changed around because it is
used by other calculations. Also, Sheet One has 3 columns where column
B is unneeded information. No Cell will actually contain a number. It
is all Text except for the desired result.
SHEET 1
Customer 1 Product 1
Product 1
Product 1
Customer 2 Product 2
Product 2
Product 2
Customer 3 Product 1
Product 1
Product 1
SHEET 2
Product 1 =2
Product 2 =1
Product 3 =


I want the formula, for example, to search for Product 1 (to count the
number of customers using a specific product) on sheet One. When seeing
product 1 in Column C, I want it to check Column A for text. If A is
populated, then count, so the result for this example would be Product
1 = 2. The products are listed on Sheet 2 where the result is to be
posted.

JulieD Wrote:
Hi Darrell

i'm going to assume you meant, count the number in column A of sheet1
as
long as the value in column C of sheet 1 is not blank
formula on Sheet2 is (where the value you're looking up is in cell A2)

=SUMPRODUCT(--(Sheet1!$A$1:$A$100=A2),--(Sheet1!$C$1:$C$100""))
check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html
for details on the sumproduct function
--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Darrell" wrote in message
...-

Hello,
I hope I can explaine this well enough. I am using two worksheets.
Worksheet 1 is an imported file, worksheet 2 is where all my
calculations are getting done. Sheet 1 column A and column C are the
only two columns I need to look at. Sheet 2 has the values of what I
am
looking for in sheet 1. All data is also alpha characters. No
numbers.

I need a formual to:

find the value from sheet 2. The value will be repeated several times
on sheet 1. When finding value, count cell in column A as long as
long
as it is not blank.

Thanks for any help you can give.


--
Darrell-



--
Darrell
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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM
Formula needed Edgar Thoemmes Excel Worksheet Functions 3 January 13th 05 02:07 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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