Hey all,
i want to count the integers/numbers in a particular cell. For example
a1 = 123456789
now i want a formula which count these numbers for me and give me result that will be = 9. Can any one help me on it.
Please reply soooon
Hey all,
i want to count the integers/numbers in a particular cell. For example
a1 = 123456789
now i want a formula which count these numbers for me and give me result that will be = 9. Can any one help me on it.
Please reply soooon
Last edited by koa786; 09-10-2008 at 03:53 AM.
Hi,
Assuming you data is in A1, try:
HTH,Please Login or Register to view this content.
SamuelT
use this if you don't want to count the decimal point
Please Login or Register to view this content.
Thanks buddy it worked
NOW ONE MORE THING.
IF I WANT TO USE AN IF STATEMENT USING THIS FORMULA WHAT WILL BE THE STATEMENT.
i mean i want some like
if LEN(A1) = 12 return me TRUE else FALSE
REPL SOON
Hi Koa,
please restrain from using upper case phrases in your thread.
As you know, on the Net, this is equivalent to shouting, which, I think, is not necessary here.
Cheers
I'm really sure this conditional IF format can also be found in the Excel help section.Please Login or Register to view this content.
ok arthur i'll try not to write in capital letters.
thanks attitude. it worked.
i am not very much familiar with the excel help section. i try to use that but couldn't find it out.
any ways thanks for the help
here i am again with another problem.
the problem is this.
cell A1 has a value = 1234567.12
now i want that if the values before decimal is = 7 and after decimal is = 2 return true, else false.
reply soon
=and(mod(int(a1),10)=7,int(mod(a1,1)*10)=2)
I need your support to add reputations if my solution works.
i can't make this formula work. is there any other option.
let me repeat my question.
Cell A1 = 1234567.12
If (Len(A1)[B4 decimal]=7 and Len(A1)[After Decimal] = 2, TRUE,FALSE)
can any one please make a formula for it.
Last edited by koa786; 09-17-2008 at 10:37 PM.
Try this:
This will count out to 50 decimal places. That should be enough...but 3 would suffice for your =2 condition.Please Login or Register to view this content.
But this will give you flexibility. Being as we are just counting the LEN() of the characters before the decimal point, Number-INT(Number) or TRUNC() will work equally.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks