+ Reply to Thread
Results 1 to 6 of 6

Populate one column based the condition of two other columns

  1. #1
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chandigarh
    MS-Off Ver
    Excel 2010
    Posts
    122

    Post Populate one column based the condition of two other columns

    15.png
    Attached is the file & snap shot for the problem kindly help if you can ASAP.

    TABLE A
    [table="width: 500, class: grid"]
    [tr]
    [td]Catagories state names devices
    A4-100 HP A ALT
    A4-101 MP B SLT
    A4-102 AP C KTL
    A4-103 ASSAM D XNO
    A4-104 MP E PNO
    A4-105 MUMBAI F FNO
    A4-106 BENGAL G GNO
    A4-107 MADRAS H SNO
    A4-108 BENGAL I VNO
    A4-109 KASHMIR J KNO
    A4-110 PUNJAB K TNO
    A4-111 HARYANA L BMO
    A4-112 HARYANA M DPM
    A4-113 BANGLORE N OIM
    A4-114 PUNE O VBM
    A4-115 KARNATAKA P SBM
    ______________________________________________
    TABLE B
    Catagories state names devices
    A4-100 HP
    A4-101 MP
    A4-102 AP
    A4-104 DELHI
    A4-105 MUMBAI
    A4-106 BENGAL
    A4-107 MADRAS
    A4-109 KASHMIR
    A4-110 PUNJAB
    A4-111 HARYANA
    A4-112 UP
    A4-113 BANGLORE

    In above condition we want to have an automatic filling up of data in table B in column (name & device) but it should match first with state name with catagory codes of table B & then same with table A in order to avoid any wrong entry because in table A certain states are repeated but codes are unique so we want that filter should match two column of each table before filling data in table B
    Attached Files Attached Files
    Last edited by warriorpoet7176; 01-17-2014 at 03:54 AM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Populate one column based the condition of two other columns

    Hello warriorpoet7176 !

    find attached !

    formula used here are array formulas you need to hold control and shift together then hit enter to make them array formula instead of pressing control and enter

    if this solves your query click " * " add rep icon to bottom left corner of my post !
    Attached Files Attached Files
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chandigarh
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Populate one column based the condition of two other columns

    Dear Mr. Hemesh
    You resolve my extensive problem, Thank you for this prompt reply and explanation.
    Looking at your accuracy & way to decipher the exisitng problem I m urged to add these lines for you.
    You Are Genius
    HATS OFF !!

  4. #4
    Forum Contributor
    Join Date
    01-07-2014
    Location
    chandigarh
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Populate one column based the condition of two other columns

    Quote Originally Posted by hemesh View Post
    Hello warriorpoet7176 !

    find attached !

    formula used here are array formulas you need to hold control and shift together then hit enter to make them array formula instead of pressing control and enter

    if this solves your query click " * " add rep icon to bottom left corner of my post !
    Dear Mr. Hemesh
    You resolve my extensive problem, Thank you for this prompt reply and explanation.
    Looking at your accuracy & way to decipher the exisitng problem I m urged to add these lines for you.
    You Are Genius
    HATS OFF !!

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Populate one column based the condition of two other columns

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Populate one column based the condition of two other columns

    Dear Warriorpoet ! Thanks for the feedback and Rep. ! It's good to see I could help you !

    Response and explanation is the part of ExcelForum......
    By no means and ways I am a genius, there are many people in this community who solves tedious problems over a cup of coffee but still they say they are learner and when I come to this place I feel I have just started learning and there is much more to learn.

    HATS OFF to to ExcelForum and ALL ADMINS/GURUS/Forum Moderators/Forum Experts and Everyone who is associated.

    Have a look at Post#5 and follow the instruction given by Mr.Alansidman.

+ 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. Populate 2-column data to multiple columns based on one condition
    By hcyeap in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-26-2013, 10:42 AM
  2. Auto Populate Two Columns Based On Data Entered Into Another Column
    By aleenah in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2013, 08:37 PM
  3. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  4. Select worksheet based on condition & populate cell based on condition
    By beth1069 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2011, 01:27 PM
  5. [SOLVED] populate columns A & B based on lookup in column C
    By linksavage in forum Excel General
    Replies: 3
    Last Post: 12-22-2010, 02:35 PM

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