How to display x,y coordinates using the Filter formula without displaying the x,y coordinates 0,0?

arthurz11

Board Regular
Joined
Nov 9, 2007
Messages
169
Office Version
  1. 2021
Platform
  1. Windows
Picture1.png


Column in yellow is the data. Column red is using the filter formula to display the x, y coordinates but displays it incorrectly. I want to display the x,y coordinates in the green column correctly but without the 0,0 coordinates. Column green is how I want it to look. How do I write the formula in Cell G3 and H3? =Filter(A3:A12,A3:A12 <> ????????)?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
How about
Excel Formula:
=FILTER(A3:B12,(A3:A12<>0)*(B3:B12<>0))
 
Upvote 0
Edit: Nvm, Fluff and Scott have better options. Or not... see below update with those versions too:

Book1
ABCDEFGHIJKLMN
1COORDINATESFILTER ONLYFILTER ONLY
2XYX,Y COORDINATESX, Y COORDINATES
3200202200-12-12
4-12-14-12-1-8-1-8
504-1504-99-99
605-9-805-1007-1007
700-1009-1-8
8007-99
9-1-8-8-1007
10-990-8
11-1007
120-8
Sheet3
Cell Formulas
RangeFormula
D3:D7,E3:E9D3=FILTER(A3:A12,A3:A12<>0)
G3:H10G3=FILTER(A3:B12,BYROW(A3:B12,LAMBDA(r,COUNTIF(r,0)<2)))
J3:K6J3=FILTER(A3:B12,(A3:A12<>0)*(B3:B12<>0))
M3:N6M3=FILTER(A3:B12,(A3:A12<>0)*(B3:B12<>0))
Dynamic array formulas.
 
Upvote 0
Glad we could help & thanks for the feedback.
I can't be that good, I got it wrong to start with. ;)
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,520
Latest member
packrat68

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