[英]How to VLOOKUP from bottom with IMPORTRANGE
Main Sheet: https://docs.google.com/spreadsheets/d/1j71MW_rgbWFxaldl4j4Ww3a22QMRZpy_u2NFrI1jjak/edit?usp=sharing 主表: https : //docs.google.com/spreadsheets/d/1j71MW_rgbWFxaldl4j4Ww3a22QMRZpy_u2NFrI1jjak/edit?usp = sharing
Formula in C155 C155中的公式
IMPORTRANGE Sheet: https://docs.google.com/spreadsheets/d/1ADudSHKhcuPtoep-S8IDXuHXrid4T6RTRrJQT5htZcE/edit?usp=sharing 重要表格: https ://docs.google.com/spreadsheets/d/1ADudSHKhcuPtoep-S8IDXuHXrid4T6RTRrJQT5htZcE/edit ? usp = sharing
I found a link with info to reverse the table for VLOOKUP
from the bottom ( https://infoinspired.com/google-docs/spreadsheet/vlookup-from-bottom-to-top-in-google-docs-sheets/ ), reason being I have multiple values of the same. 我找到了一个带有信息的链接,用于从底部反转https://infoinspired.com/google-docs/spreadsheet/vlookup-from-bottom-to-top-in-google-docs-sheets/的
VLOOKUP
表,原因是我有多个相同的值。 I always want to pull the latest value, which is at the bottom. 我一直想获取最底端的最新值。
Current Formula: 当前公式:
=IFERROR(IF(C149 <= TODAY(),VLOOKUP(VALUE(C149),IMPORTRANGE("1g7AtubscrhkP2y6A0Dk7JUXiqxPhkSwKWlpeG7RVBKI","'South Loop Sales Log'!$A:$K"),2,FALSE),""),"")
Date Values are in column A for IMPORTRANGE
. 日期值在
IMPORTRANGE
A列中。 Is there any way to implement this VLOOKUP
formula to work with IMPORTRANGE
also? 有什么方法可以实现此
VLOOKUP
公式以与IMPORTRANGE
一起IMPORTRANGE
?
try: 尝试:
=IFERROR(IF(C$149 <= TODAY(), VLOOKUP(VALUE(C$149), ARRAY_CONSTRAIN(SORT({
QUERY(IMPORTRANGE("1ADudSHKhcuPtoep-S8IDXuHXrid4T6RTRrJQT5htZcE",
"South Loop Sales Log!A3:K"), "where Col1 is not null", 0),
ROW(INDIRECT("A1:A"&COUNTA(IMPORTRANGE("1ADudSHKhcuPtoep-S8IDXuHXrid4T6RTRrJQT5htZcE",
"South Loop Sales Log!A3:A"))))}, 12, 0), 99^99, 11), ROW(A2), 0), ), )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.