Formula not working in Google Docs

SteveNL86

Board Regular
Joined
Nov 11, 2014
Messages
109
Office Version
  1. 2016
Platform
  1. Windows
Dear reader,

I'm running into a weird issue with Google Docs. I'm using this formula:

VBA Code:
=IFERROR(INDEX(Tickets!$AB$9:$AB$308;AGGREGATE(15;6;(ROW(Tickets!$AB$9:$AB$308)-ROW(Tickets!$AB$9)+1)/(ISNA(MATCH(Tickets!$AB$9:$AB$308;C$8:C8;0)))/(Tickets!$AB$9:$AB$309<>"No defined output.");1));"")

And its working great on my local pc. But I am also using this file in Google Docs/Sheets, and it won't show any results in Google Docs.
Does anyone know if there are some settings I need to change in order to get it working, or what could possibly be the issue?

Kind regards,
Steve
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Google sheets doesn't support the AGGREGATE function. See if this alternative works.

Excel Formula:
=ARRAYFORMULA(IFERROR(INDEX(Tickets!$AB:$AB;SMALL(IFERROR(ROW(Tickets!$AB$9:$AB$308)/ISNA(MATCH(Tickets!$AB$9:$AB$308;C$8:C8;0))/(Tickets!$AB$9:$AB$309<>"No defined output.");1E+100);1));""))
 
Upvote 0
Solution
Google does not have an Aggregate function, which is why it doesn't work.
Whilst there are other ways to do it, I think you will have a problem finding a formula that works on both systems.
 
Upvote 0
Thank you Jasonb75, that does work in Google Docs, but not on my local machine. I guess you are right Fluff, I'll have to think of a different way to tackle this problem.

Thank you both for the help!
 
Upvote 0
If you had Office 365, then there wouldn't be a problem, but not with 2016. :(
 
Upvote 0
Oh right, well I guess it's time to upgrade then haha. Thanks for the tip!
 
Upvote 0
Another option would be to use Excel online, rather than Sheets.
 
Upvote 0

Forum statistics

Threads
1,223,405
Messages
6,171,925
Members
452,433
Latest member
Woodchuck76

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top