A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how to select and count from a range of data



 
 
Thread Tools Display Modes
  #1  
Old December 6th, 2008, 12:32 PM posted to microsoft.public.excel.misc
ajay
external usenet poster
 
Posts: 54
Default how to select and count from a range of data

I have 3 data sheets:
Sheet1, sheet2, sheet3
From Sheet1 a value V1 is taken and looked up in Sheet2 another value
corresponding to V1 ia taken say V2 (I tried doing this by Vlookup and am
able to do find V1 and take V2) and V2 is checked in Sheet3 in data which is
arranged horizontally and under this value I have a lot of values in the same
column.

I want to select this range of data and then count the number of cells for a
particular value.
How can i do it ?
  #2  
Old December 6th, 2008, 03:05 PM posted to microsoft.public.excel.misc
muddan madhu
external usenet poster
 
Posts: 695
Default how to select and count from a range of data

assumed sheet 1 - value V1 = xyz
same value is been looked in sheet 2
e.g., sheet 2
col V Col W
abc 123
xyz 456
cbz 789

by looking up for xyz in sheet 1 value result will be 456 and same
number
is been looked up sheet 3 and u need to count that number ? Is this
you are looking for

I guees u need count function

=COUNTIF(sheet3!V2:Y2,sheet1!V2)

On Dec 6, 5:32*pm, Ajay wrote:
I have 3 data sheets:
Sheet1, sheet2, sheet3
From Sheet1 a value V1 is taken and looked up in Sheet2 another value
corresponding to V1 ia taken say V2 (I tried doing this by Vlookup and am
able to do find V1 and take V2) and V2 is checked in Sheet3 in data which is
arranged horizontally and under this value I have a lot of values in the same
column.

I want to select this range of data and then count the number of cells for a
particular value.
How can i do it ?


  #3  
Old December 10th, 2008, 02:36 PM posted to microsoft.public.excel.misc
ajay
external usenet poster
 
Posts: 54
Default how to select and count from a range of data

suppose for 456
123 456 789
a b c
d b a
b a c

I want to count b's under 456

I can use countif(sheet3!V2:Y2,"b") but how do i get that V2:Y2 refers to
the data below 456 only


"muddan madhu" wrote:

assumed sheet 1 - value V1 = xyz
same value is been looked in sheet 2
e.g., sheet 2
col V Col W
abc 123
xyz 456
cbz 789

by looking up for xyz in sheet 1 value result will be 456 and same
number
is been looked up sheet 3 and u need to count that number ? Is this
you are looking for

I guees u need count function

=COUNTIF(sheet3!V2:Y2,sheet1!V2)

On Dec 6, 5:32 pm, Ajay wrote:
I have 3 data sheets:
Sheet1, sheet2, sheet3
From Sheet1 a value V1 is taken and looked up in Sheet2 another value
corresponding to V1 ia taken say V2 (I tried doing this by Vlookup and am
able to do find V1 and take V2) and V2 is checked in Sheet3 in data which is
arranged horizontally and under this value I have a lot of values in the same
column.

I want to select this range of data and then count the number of cells for a
particular value.
How can i do it ?



 




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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:28 PM.


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