+ Reply to Thread
Results 1 to 5 of 5

Male or Female Return Value

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Male or Female Return Value

    This one has me stumped.

    Objective: To get a M,F,Unisex value into a csv file of 1 million rows from another csv file that has two columns; column 1=first name, colum 2=m,f,unisex

    Thoughts?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Male or Female Return Value

    use a vlookup, and then resave as CSV?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Male or Female Return Value

    Hi Doogster, perhaps opening the csv file in Excel as 2 columns, replace "m" to "M"; "f" to "F"; "u" to "U" in column 2, remove column A and save it as csv?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Male or Female Return Value

    wow simple Vlookup.

    I was able to copy paste my records of first names into the large csv workbook and watch some vlookup videos. Thanks guys!

  5. #5
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Male or Female Return Value

    You're welcome, and have fun with Excel!



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatically adding Mr or Ms to male/female
    By TTej in forum Excel General
    Replies: 7
    Last Post: 10-03-2017, 11:49 AM
  2. [SOLVED] Formula for male and female staff on rota
    By bigtiger1 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-06-2013, 07:03 AM
  3. Replies: 16
    Last Post: 01-16-2012, 07:09 AM
  4. Excel Male / Female Column
    By ringrim in forum Excel General
    Replies: 5
    Last Post: 08-13-2008, 05:28 PM
  5. IF male or female IF age is in range...THEN...
    By mtmagent in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2006, 03:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1