+ Reply to Thread
Results 1 to 9 of 9

Data validation and formula - Google Sheets

  1. #1
    Registered User
    Join Date
    10-14-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Data validation and formula - Google Sheets

    Hello,

    I have a really silly question but I can't think of a way and I hope someone here can help.

    In my tab number 1, I created a data validation that picks up either developing or developed countries.

    I would like to create a table below this that picks up the countries that are in developing or developed countries from my tab number 2.

    For example, I selected developed in my data validation. My table should show up all the countries that are classified developed in my second tab.

    Please help!
    Last edited by Human2014; 04-05-2017 at 09:38 AM.

  2. #2
    Registered User
    Join Date
    10-14-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Re: Sumif ?

    ok title changed
    Last edited by AliGW; 04-05-2017 at 09:44 AM. Reason: Unnecessary quotation removed.

  3. #3
    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. 2410 (Windows 11 23H2 64-bit)
    Posts
    87,562

    Re: Data validation and formula

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    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 solution is 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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    10-14-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Re: Data validation and formula

    Attached the file for an example.
    Attached Files Attached Files

  5. #5
    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. 2410 (Windows 11 23H2 64-bit)
    Posts
    87,562

    Re: Data validation and formula

    I think this is what you are after:

    =COUNTIFS(Sheet2!A2:A5,"<>",Sheet2!B2:B5,Sheet1!D8)

  6. #6
    Registered User
    Join Date
    10-14-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Re: Data validation and formula

    Quote Originally Posted by AliGW View Post
    I think this is what you are after:

    =COUNTIFS(Sheet2!A2:A5,"<>",Sheet2!B2:B5,Sheet1!D8)
    I think it formula will return how many countries. What I am looking for is seeing the countries that belong in the classification, so when I select "developed". I want to see "France" and so on. is it possible ?

  7. #7
    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. 2410 (Windows 11 23H2 64-bit)
    Posts
    87,562

    Re: Data validation and formula

    OK - then your sample sheet was not at all clear! Yes, it is possible:

    Excel 2016 (Windows) 32 bit
    C
    D
    E
    8
    SELECT MARKET developed
    9
    10
    Countries
    11
    FRANCE
    12
    UK
    13
    JAPAN
    Sheet: Sheet1

    Excel 2016 (Windows) 32 bit
    C
    11
    =IFERROR(INDEX(Sheet2!A:A,SMALL(IF(Sheet2!$B$2:$B$21=$D$8,ROW(Sheet2!$A$2:$A$21)),ROWS($A$1:A1))),"")
    Sheet: Sheet1

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  8. #8
    Registered User
    Join Date
    10-14-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Re: Data validation and formula

    Thank you so much.

    I am trying to do it on a google sheet, I selected the ctrl+shift+enter but it isn't giving me error still.

  9. #9
    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. 2410 (Windows 11 23H2 64-bit)
    Posts
    87,562

    Re: Data validation and formula

    Why did you not say this at the start? This is an Excel forum: if you are using something else, then you should be posting in a different section. I cannot help you with Google Sheets, sorry, but I will move your posts for you and amend the thread title.

+ 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. Anniversary Date Formula Reminder [Google Sheets]
    By switzd0d in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 04-26-2016, 04:18 PM
  2. Anniversary Date Formula Reminder [Google Sheets]
    By switzd0d in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-26-2016, 02:04 PM
  3. Converting google sheets formula to excel
    By coldeskimo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2016, 08:41 AM
  4. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02:55 PM
  5. Google Sheets Array Formula Structure
    By redline24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2015, 04:00 PM
  6. Replies: 1
    Last Post: 01-25-2014, 02:10 PM
  7. Basic Sum Formula in Google Sheets
    By lesoies in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 08-27-2013, 04:05 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