+ Reply to Thread
Results 1 to 5 of 5

Insert two genders from differents sheets into new sheet

  1. #1
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Question Insert two genders from differents sheets into new sheet

    Hi, i'm trying to get two gender data, from two different sheets into a new sheet with ascending.
    I don't know how to apply formula in it, here is my code for female

    =INDEX('(female)'!B3:B300,SMALL(IF('(female)'!G3:G300=G2,ROW('(female)'!B3:B300)-2),ROW()-1))

    In the list, B3 is the user's name i insert, and i wish to combine it with male and ascending into new sheet.
    Is any other way to do it? i have tried used if statement, it's not working.

    Thank you.
    Last edited by lkerwei; 07-14-2019 at 08:46 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,365

    Re: Insert two genders from differents sheets into new sheet

    Welcome to the forum.

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Insert two genders from differents sheets into new sheet

    Thank you, AliGW for guiding me.
    I have followed your instruction to attached the excel file and a screenshot for desired outcome.

    Thank You.
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Insert two genders from differents sheets into new sheet

    This is the outcome i have updated,
    the formula is not going as my expectation.
    I wish any experts could guide me or give me some advice of use in other method to solve it.

    Thank you.
    Attached Images Attached Images
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Insert two genders from differents sheets into new sheet

    Since nobody wanted to give a clue for the problem,
    and I have found my way to achieve my expectation ,
    Below is the code in case somebody was looking for it
    Please Login or Register  to view this content.
    Thank you and appreciate who read it.

+ 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. Replies: 4
    Last Post: 07-18-2017, 12:08 PM
  2. [SOLVED] EXCEL Sort out certain years and genders
    By sealpino in forum Excel General
    Replies: 1
    Last Post: 01-10-2017, 07:16 PM
  3. [SOLVED] running totals for genders
    By Aurbo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2016, 03:06 PM
  4. [SOLVED] Differents dates in differents sheets
    By luizmachado in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2016, 12:57 PM
  5. Activate custom ribbon tabs for differents sheets
    By Deutz in forum Excel General
    Replies: 2
    Last Post: 07-30-2015, 02:30 AM
  6. Replies: 4
    Last Post: 02-03-2015, 07:54 PM
  7. separate data of differents countries in others sheets
    By silviario in forum Excel General
    Replies: 6
    Last Post: 04-27-2011, 03:14 PM

Tags for this Thread

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