+ Reply to Thread
Results 1 to 6 of 6

nesting & sorting functions in Google sheets

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    nesting & sorting functions in Google sheets

    I wonder if anyone can help me with the following issues in this spreadsheet please?

    https://docs.google.com/spreadsheets...it?usp=sharing

    The idea is that on the first sheet is data. The second sheet takes that data and sorts it. It then takes that sorted data and filters it by looking for dates after a date specified in a separate cell. The third tab has a Chart that uses the data collated on the second sheet.

    I have 2 issues:

    1) is it possible to nest the 2 formulas? (they are highlighted in yellow on the sheet)
    2) Can I get the data in the chart to run lower dates to higher dates, left to right? At the moment it runs right to left because I needed to sort the data so the titles are at the top.

    Be great to hear any thoughts.

    Best Wishes

    Ian

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: nesting & sorting functions in Google sheets

    Do the names in the first row change? If not, you could simply exclude them from the sort range and add them manually to the chart data sheet, so you can sort ascending.

    And yes, you could use the Filter function as the range for the SORT function.
    Rory

  3. #3
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: nesting & sorting functions in Google sheets

    Hi Rory

    Yes I could manually exclude the titles from the filter before sorting and add them manually to the chart.

    I'll give the nesting a go, thanks.

    Thanks

    Ian

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: nesting & sorting functions in Google sheets

    No worries. Just post back if you get stuck.

  5. #5
    Registered User
    Join Date
    11-29-2013
    Location
    UK
    MS-Off Ver
    Office 365 subscription
    Posts
    58

    Re: nesting & sorting functions in Google sheets

    It looked so easy but.....

    I can't get the nested formula:

    =sort((filter(Data!A:D,Data!D:D>=h1),4,0))

    to work.

    Any pointers on why would be gratefully received....

  6. #6
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: nesting & sorting functions in Google sheets

    Based on your layout, you'd copy the headers over, then use:

    =SORT(FILTER(Data!A5:D,Data!D5:D>=H1),4,True)

    You've got an extra set of brackets in your formula that are causing the problem, but you also don't need the whole columns.

+ 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. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  2. 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
  3. Nesting Vlookup Functions with IF Functions and possibly more
    By Anitarizzo in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-27-2014, 12:50 AM
  4. Replies: 1
    Last Post: 01-25-2014, 02:10 PM
  5. Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

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