Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

> Need help with Excel functions, To find Gender using IC number Q&A

views
     
Abs0lute
post Dec 27 2018, 01:58 PM

Getting Started
**
Junior Member
50 posts

Joined: Oct 2018
QUOTE(2feidei @ Dec 27 2018, 11:39 AM)
my way, not very efficient way

1.Copy the list into new column
2.Text to column only the last digit into new cell
3. Use if function in the single digit cell, if odd = male, even = female
*
i would be using this if i didnt know the ISODD formula laugh.gif
SUS2feidei
post Dec 27 2018, 02:00 PM

Ayam tatau, ayam virgin (c)
*******
Senior Member
3,158 posts

Joined: Oct 2013
QUOTE(Abs0lute @ Dec 27 2018, 01:58 PM)
i would be using this if i didnt know the ISODD formula laugh.gif
*
tenkiu....i learn something new todei
agent sawyer
post Dec 27 2018, 02:04 PM

New Member
*
Newbie
0 posts

Joined: Oct 2018
QUOTE(jmas @ Dec 27 2018, 01:55 PM)
Redundant, IF function itself already checks for TRUE/FALSE.
*
Ah thanks.
jmas
post Dec 27 2018, 02:07 PM

I can edit title???
*****
Junior Member
830 posts

Joined: Mar 2010
QUOTE(hirano @ Dec 27 2018, 01:57 PM)
Can ayam ask u if ayam got excel question in future?
*
will try to help if possible. thumbup.gif
Blofeld
post Dec 27 2018, 02:12 PM

Look at all my stars!!
*******
Senior Member
4,703 posts

Joined: Mar 2012
QUOTE(jmas @ Dec 27 2018, 11:47 AM)
simpler formula

=IF(ISODD(RIGHT(A1,4)),"MALE","FEMALE")

The RIGHT is to capture last 4 digit only.
*
notworthy.gif
junky_man
post Dec 27 2018, 02:14 PM

The 'bater Debater
******
Senior Member
1,118 posts

Joined: Jul 2008
From: Ur-anus
Formula:

=(Didyouassumemygender)?
spacelion
post Dec 27 2018, 02:16 PM

Ada Liu
******
Senior Member
1,692 posts

Joined: Mar 2009
From: Probation?
QUOTE(v1n0d @ Dec 27 2018, 11:53 AM)
Thank you for recommending a rocket launcher when all he needed was a revolver.
*
TS never ask if he need scalability later on or not

if he want to reuse the function multiple times for other purpose then its better to give rocket launcher

manatau user how stupid or smart
tbcheese
post Dec 27 2018, 02:25 PM

Casual
***
Junior Member
313 posts

Joined: Jul 2009


Why would you even have a stack of IC numbers? lol
v1n0d
post Dec 27 2018, 02:27 PM

Another roof, another proof.
*******
Senior Member
3,197 posts

Joined: Mar 2007
From: Kuala Lumpur, Malaysia


QUOTE(spacelion @ Dec 27 2018, 02:16 PM)
TS never ask if he need scalability later on or not

if he want to reuse the function multiple times for other purpose then its better to give rocket launcher

manatau user how stupid or smart
*
From experience, the latter is more common.
SUSAmeiN
post Dec 27 2018, 02:27 PM

★★★★★★★
*******
Senior Member
4,735 posts

Joined: Feb 2010
From: ★~Starlight~★
QUOTE(hirano @ Dec 27 2018, 01:57 PM)
Can ayam ask u if ayam got excel question in future?
*
bukak ja thread..haha
homicidal85
post Dec 27 2018, 02:41 PM

Getting Started
**
Junior Member
295 posts

Joined: Jun 2006
From: JB


/k programmers all come out dy.
agent sawyer
post Dec 27 2018, 02:43 PM

New Member
*
Newbie
0 posts

Joined: Oct 2018
QUOTE(jmas @ Dec 27 2018, 11:47 AM)
simpler formula

=IF(ISODD(RIGHT(A1,4)),"MALE","FEMALE")

The RIGHT is to capture last 4 digit only.
*
last 1 digit is sufficient
jmas
post Dec 27 2018, 02:44 PM

I can edit title???
*****
Junior Member
830 posts

Joined: Mar 2010
QUOTE(agent sawyer @ Dec 27 2018, 02:43 PM)
last 1 digit is sufficient
*
haha, ya, overkill abit.
Realize afterwards.
rico_n
post Dec 27 2018, 02:56 PM

New Member
*
Junior Member
11 posts

Joined: Jan 2010


many expert here..
tumpang a bit can?

what if i want to copy specific keyword to other column.
let say this keyword always in capital letter

eg: asdad adkjald ABCD asd;ak adskak


i want to copy that ABCD to other colum
Flame Haze
post Dec 27 2018, 02:58 PM

Enthusiast
*****
Senior Member
814 posts

Joined: Oct 2009


QUOTE(rico_n @ Dec 27 2018, 02:56 PM)
many expert here..
tumpang a bit can?

what if i want to copy specific keyword to other column.
let say this keyword always in capital letter

eg: asdad adkjald ABCD asd;ak adskak
i want to copy that ABCD to other colum
*
=MID(target cell, starting position, length of numbers u wanna copy)

In your example, =MID(A1,15,4) coz include spaces

If the position is not fixed, can use this laugh.gif

» Click to show Spoiler - click again to hide... «


Replace the bold part with your target cell

This post has been edited by Flame Haze: Dec 27 2018, 03:32 PM
kiasunkiasi
post Dec 27 2018, 03:04 PM

On my way
****
Senior Member
597 posts

Joined: Nov 2007


QUOTE(Flame Haze @ Dec 27 2018, 11:52 AM)
I learnt something today  nod.gif

Excel is god program for audit work
*
you mean you just learn the RIGHT function? will you be surprised you also learn LEFT function at the same time?
kiasunkiasi
post Dec 27 2018, 03:05 PM

On my way
****
Senior Member
597 posts

Joined: Nov 2007


QUOTE(agent sawyer @ Dec 27 2018, 12:00 PM)
=IF(ISODD(RIGHT(target cell,1))="True","Male","Female")

You're welcome
*
err... that [="True"] part is redundant, no?

edit: okay, this had been answered and settled

This post has been edited by kiasunkiasi: Dec 27 2018, 03:10 PM
Flame Haze
post Dec 27 2018, 03:07 PM

Enthusiast
*****
Senior Member
814 posts

Joined: Oct 2009


QUOTE(kiasunkiasi @ Dec 27 2018, 03:04 PM)
you mean you just learn the RIGHT function? will you be surprised you also learn LEFT function at the same time?
*
Yeah I know how to use RIGHT, LEFT, MID now thanks nod.gif
SUSAud power
post Dec 27 2018, 03:10 PM

Getting Started
**
Junior Member
117 posts

Joined: Nov 2018
QUOTE(victorian @ Dec 27 2018, 11:31 AM)
Hi let’s say I have a pool of data and some of the genders are unspecified in an excel sheet. What excel formulas should I use to find the gender using the IC. Something like “if last digit of IC is odd numbers, Gender = Male” and so on. Tenks  guys
*
YOu split the string, and put the sit string into new column, then you test if that new column is odd or even

Ezpz

Google sheets is better though since it can do real time processing and have more powerful functions

This post has been edited by Aud power: Dec 27 2018, 03:11 PM
rico_n
post Dec 27 2018, 03:25 PM

New Member
*
Junior Member
11 posts

Joined: Jan 2010


my case always position not fixed wan
the formula in the spoiler not werking cry.gif


QUOTE(Flame Haze @ Dec 27 2018, 02:58 PM)
=MID(target cell, starting position, length of numbers u wanna copy)

In your example, =MID(A1,15,4) coz include spaces

If the position is not fixed, can use this laugh.gif

» Click to show Spoiler - click again to hide... «


Replace the bold part with your target cell
*

3 Pages < 1 2 3 >
Bump Topic Add ReplyOptions New Topic
 

Change to:
| Lo-Fi Version
0.0190sec    1.05    6 queries    GZIP Disabled
Time is now: 18th December 2025 - 02:16 AM