1

https://gyazo.com/07bafa5de65bfbfc8d523d1e5eaa0fbf

data I have some data A1:G5 and i want to find latest fee from specific transactions (in WHERE -> FROM, Currency )

I have timestamp:

=QUERY(A1:G5, "SELECT MAX(A) WHERE F = 'Aaaa' AND C = 'PLN' ") 

1) I dont want label.
2) How to get fee?

Answer:

Last Fee: 0.1

Timestamp: 13/02/2018 13:01:21

2 Answers 2

2

Please try (it avoids MAX):

=query(A1:G5,"select E, A where F = 'Aaaa' and C = 'PLN' order by A desc limit 1",0) 
Sign up to request clarification or add additional context in comments.

Comments

2

Change your query to this to remove the label:

=QUERY(A1:G5,"SELECT MAX(A) WHERE F = 'Aaaa' AND C = 'PLN' LABEL MAX(A) ''") 

To get the Fee, assuming the above query is in B11, enter this in A11:

 =VLOOKUP(B11,A1:G5,5,FALSE) 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.