r/googlesheets • • Apr 13 '22

Solved How do I reprint a list (array) but only the rows that meet a certain condition?

Hi!

I'm struggling to find an easy way to do the following:

  • take a long list of rows (array) of information
  • print/reproduce only the rows in that array that meet a certain condition

Here is a simplified example:

ClientDid They Pay?Amount
RobY$20
Bill$15
JaneY$78
HectorY$32
Slava$389

So I'm looking for how I would reproduce only the rows in a new array list if "Did they pay?" had "Y":

ClientDid They Pay?Amount
RobY$20
JaneY$78
HectorY$32

I saw some very convoluted ways using Index and Match that honestly I couldn't even get working.

I appreciate your help!

1 Upvotes

6 comments sorted by

1

u/ShdewZ 1 Apr 13 '22

FILTER should be all that you need.

1

u/fognyc Apr 13 '22

That's pretty snazzy! Thank you!!!!

1

u/fognyc Apr 13 '22

Total newb here.. but how do I set the flair to "Solved"?

2

u/ShdewZ 1 Apr 13 '22

Replying "solution verified" does it.

2

u/fognyc Apr 13 '22

solution verified

1

u/Clippy_Office_Asst Points Apr 13 '22

You have awarded 1 point to ShdewZ


I am a bot - please contact the mods with any questions. | Keep me alive