Counting of smiliar type of data based on certain conditions

OMKARTHEPOWER

New Member
Joined
Nov 8, 2014
Messages
8
Hi All

I have a set of data in a single column stated below :

30.32
73.82
133.99
51.93
51.77
54.55
55.24
60.95
60.95
60.95
52.35

<tbody>
</tbody>
Now if i want to get the final result where all rows ending with .95 should be true or else false, how can i derive through simple excel formula.

Thanks in advance in anticipation to get positive response.
 
Thanks for the support but formula is not fully workable for me.

Reason being in case of (126.24, 413.92) it should have returned as true as it contains number before decimal which is divisible by 13. I mean last 2 digit before decimal.

Might be i didnt wrote it correct while framing the question. my apologies for the same.

Another quick question: can't it be in a single formula?

Regards
Anand
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Excel 2007
AB
1126.64TRUE
2118.64FALSE
3413.92TRUE
413.39TRUE
558.39FALSE
658.39FALSE
713.39TRUE
858.39FALSE
9206.09TRUE
Sheet9
Cell Formulas
RangeFormula
B1=OR(MOD(ROUND(A1-INT(A1),2)*100,9)=0,MOD(INT(MOD(A1,100)),13)=0)
 
Upvote 0
Hi .

Please find below the output of formula suggested by you.

58.39TRUE
58.39TRUE
58.39TRUE
58.39TRUE
58.39TRUE
143.13TRUE
39.81TRUE
39.81TRUE
39.81TRUE
72.13TRUE
36.13TRUE
349.00TRUE
539.46TRUE
22.13TRUE
193.13TRUE
22.13TRUE
250.91TRUE
1099.00TRUE
132.00TRUE
63.00TRUE
599.00TRUE

<colgroup><col style="width:48pt" width="64"> <col style="width:48pt" width="64"> </colgroup><tbody>
</tbody>


I used the formula as OR(MOD(ROUND(A1-INT(A1),2)*100,13)=0,MOD(INT(MOD(A1,100)),13)=0).

Re-wirting the condition again for your quick reference.

1) Any figure after decimal which is divisible by 13 should be true( for e.g. .13,.26,.39,.52,.65,.78.till.91 ) or

2) Any figure before decimal which which ends with 13 or its multiple (to a maximum of two digit result.. i.e. to say till 91 as 104 becomes three digit result) should be true. Rest all should be false.

Still not getting perfect result.. for e.g.1099,132,63,599,349 etc should have resulted in false, but using the above formula it returned as true.

Sorry to bother you again and again.. but if you can help me to get the desired output as stated above.

Thanks in advance.

Best Regards
Anand
 
Upvote 0
Re-wirting the condition again for your quick reference.

1) Any figure after decimal which is divisible by 13 should be true( for e.g. .13,.26,.39,.52,.65,.78.till.91 ) or

In post #8 you stated
1) Any figure after decimal which is divisible by 9 should be true( for e.g. .09,.18,.27,.36,.45,.54. and so on)


Which is it to be?

I would appear to have neglected
to account for a whole number yielding a modulus of zero.
Why not see if you can modify the formula by incorporating an AND function to test for that?????
 
Upvote 0

Forum statistics

Threads
1,215,143
Messages
6,123,285
Members
449,094
Latest member
GoToLeep

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top