简体   繁体   中英

Excel get value from vertical cell sheet reference to horizontally cell

Sheet 5 Sheet 6

I have two sheet with different cell orientation, one is vertical and one is horizontal

I want to fill horizontal cell in sheet 6 based on reference value from sheet 5 which is vertical cell.

I want create formula "IF date 1 on sheet 6 is IN then get value from date 1 IN on sheet 5"

I already use some IF statement but when I drag it to right, the formula reference on sheet 5 also moved to right. Can it changed to move down?

If I understood the issue correclty, you can use the indirect function to construct the cell pattern.

For example, if you write =INDIRECT("Sheet5!B"&COLUMN(A1)) on the Sheet6 cell and then drag it to the right it will move the reference down on the Sheet5.

You can combine your existing conditions with that function to achieve the result.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM