ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   number of times (https://www.excelbanter.com/excel-worksheet-functions/51798-number-times.html)

prasad

number of times
 
Please give me answer for following question.

I have entered value 6650 value in this cell, now i want to know how much
100 in this cell and how much 50 in this cess.



Anne Troy

number of times
 
=A1/100 ?
=A1/50 ?
If this doesn't help, try to be more clear. Not sure what you are looking
for.

************
Anne Troy
www.OfficeArticles.com

"prasad" wrote in message
...
Please give me answer for following question.

I have entered value 6650 value in this cell, now i want to know how much
100 in this cell and how much 50 in this cess.





Nick Hodge

number of times
 
Prasad

If I understand your question then use two other cells in one type (Presume
the number 6650 is in A1, so change as necessary)

=A1/100

In the other type

=A1/50

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"prasad" wrote in message
...
Please give me answer for following question.

I have entered value 6650 value in this cell, now i want to know how much
100 in this cell and how much 50 in this cess.





prasad

number of times
 
I have entered A1 Cell= 6500

1) 100 50 20 10 5 2 1
2) 65 1 1 1 1
3) 6500 50 0 10 5 0 1

Please see the above table I have entered a) Rupees Value b) I want Answer
like that c) actual calculation of cell

My question is I want to know that how much times I have entered e.g.
100,50,20,10,€¦€¦ how much times in the value 6566. Answer is 65,1,1,......
I want to function for that.


Nick Hodge

number of times
 
Prasad

Hope I understand now. I am seeing a grid with the number in A2, Titles in
B1:H1 as follows: 100, 50, 20, 10, 5, 2, 1). The following formula in cells
B2:H2 respectively

=INT(A2/$B$1)
=INT((A2-(B2*$B$1))/$C$1)
=INT((A2-((B2*$B$1)+(C2*$C$1)))/$D$1)
=INT((A2-((B2*$B$1)+(C2*$C$1)+(D2*$D$1)))/$E$1)
=INT((A2-((B2*$B$1)+(C2*$C$1)+(D2*$D$1)+(E2*$E$1)))/$F$1)
=INT((A2-((B2*$B$1)+(C2*$C$1)+(D2*$D$1)+(E2*$E$1)+(F2*F1)))/$G$1)
=INT((A2-((B2*$B$1)+(C2*$C$1)+(D2*$D$1)+(E2*$E$1)+(F2*$F$1) +(G2*$G$1)))/$H$1)

There will undoubtedly be a more elegant array solution, but this appears to
work

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"prasad" wrote in message
...
I have entered A1 Cell= 6500

1) 100 50 20 10 5 2 1
2) 65 1 1 1 1
3) 6500 50 0 10 5 0 1

Please see the above table I have entered a) Rupees Value b) I want Answer
like that c) actual calculation of cell

My question is I want to know that how much times I have entered e.g.
100,50,20,10,.. how much times in the value 6566. Answer is 65,1,1,......
I want to function for that.




Ron Rosenfeld

number of times
 
On Sun, 23 Oct 2005 01:53:01 -0700, prasad
wrote:

I have entered A1 Cell= 6500

1) 100 50 20 10 5 2 1
2) 65 1 1 1 1
3) 6500 50 0 10 5 0 1

Please see the above table I have entered a) Rupees Value b) I want Answer
like that c) actual calculation of cell

My question is I want to know that how much times I have entered e.g.
100,50,20,10,…… how much times in the value 6566. Answer is 65,1,1,......
I want to function for that.


Set up a grid in B1:H1 with:

B1: 100
C1: 50
D1: 20
E1: 10
F1: 5
G1: 2
H1: 1

Put your number in A2. Then

B2: =INT($A2/B$1)
C2: =INT(($A2-SUMPRODUCT($B$1:B$1,$B2:B2))/C$1)

Select C2 and copy/drag the equation across to H2.

You can then select C2:H2 and copy/drag down as far as needed for different
entries in column A. The formulas should adjust appropriately as you do this.


--ron

Richard Buttrey

number of times
 
On Sun, 23 Oct 2005 01:53:01 -0700, prasad
wrote:

I have entered A1 Cell= 6500

1) 100 50 20 10 5 2 1
2) 65 1 1 1 1
3) 6500 50 0 10 5 0 1

Please see the above table I have entered a) Rupees Value b) I want Answer
like that c) actual calculation of cell

My question is I want to know that how much times I have entered e.g.
100,50,20,10,…… how much times in the value 6566. Answer is 65,1,1,......
I want to function for that.


Can you describe what you are trying to achieve a little more clearly
please?

It seems that you're trying to create some function which relates the
numbers 100, 50, 20 etc., with the number in A1, and produce the
result 65, 1, ?,?,?,?,? and 6500, 50, 0, 10, 5,0,1

However it's not clear to me how these are related and why for
instance you are only showing five results in 2)

Rgds

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

Nick Hodge

number of times
 
Richard

I've had no response from the poster yet but I suspected he wanted to know
how many 100's, how many 50's, how many 20's, etc were in the number in A1,
so in the example given (6566) (I think he has confused his examples), you
end up with 65x100s, 1x50s, 0x20's, 1x10s, 1x5s, 0x2s and 1x1s. (I think he
just left gaps instead of zeroes)

I suspect we'll know when time zones allow ;-)

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Richard Buttrey" wrote in
message ...
On Sun, 23 Oct 2005 01:53:01 -0700, prasad
wrote:

I have entered A1 Cell= 6500

1) 100 50 20 10 5 2 1
2) 65 1 1 1 1
3) 6500 50 0 10 5 0 1

Please see the above table I have entered a) Rupees Value b) I want Answer
like that c) actual calculation of cell

My question is I want to know that how much times I have entered e.g.
100,50,20,10,.. how much times in the value 6566. Answer is 65,1,1,......
I want to function for that.


Can you describe what you are trying to achieve a little more clearly
please?

It seems that you're trying to create some function which relates the
numbers 100, 50, 20 etc., with the number in A1, and produce the
result 65, 1, ?,?,?,?,? and 6500, 50, 0, 10, 5,0,1

However it's not clear to me how these are related and why for
instance you are only showing five results in 2)

Rgds

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________




Richard Buttrey

number of times
 
On Sun, 23 Oct 2005 20:08:09 +0100, "Nick Hodge"
wrote:

Richard

I've had no response from the poster yet but I suspected he wanted to know
how many 100's, how many 50's, how many 20's, etc were in the number in A1,
so in the example given (6566) (I think he has confused his examples), you
end up with 65x100s, 1x50s, 0x20's, 1x10s, 1x5s, 0x2s and 1x1s. (I think he
just left gaps instead of zeroes)

I suspect we'll know when time zones allow ;-)


You're probably right Nick. One of my guesses was that he was making
up wage packets and wanting to know how many notes/coins of each
denomination was needed.

Rgds

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________


All times are GMT +1. The time now is 11:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com