SinusxCosinusx
New Member
- Joined
- Nov 22, 2013
- Messages
- 17
- Office Version
- 365
- Platform
- Windows
Hi everyone,
I have a workbook with 4 sheets. In cell B16 of sheet "RBB" I want to create a formula to output the first value (from left to right) found between the columns L to AY of sheet "Belegerfassung" in the row related to the ID in column A. In sheet "RBB" this ID is reflected in cell E2.
Then the next cell B17 of sheet "RBB" shall output the next value (from left to right) found between the columns L to AY of sheet "Belegerfassung", as mentioned above. And so on, next cell B18... B19. The formula should ignore blank cells in the sheet "Belegerfassung", so it can show only from cells containing values. Also the next coming cells should not reproduce the same value the above cells already reproduced.
Same shall happen to the cells A16, A17, A18... in sheet "RBB". They should reproduce the respective column name from sheet "Belegerfassung" found in row 4.
I tested the below formula, but beside the fact that's too long, it's not effective:
P.S.: My regional settings are set up for Germany, that's why I use semicolon instead of comma.
I have a workbook with 4 sheets. In cell B16 of sheet "RBB" I want to create a formula to output the first value (from left to right) found between the columns L to AY of sheet "Belegerfassung" in the row related to the ID in column A. In sheet "RBB" this ID is reflected in cell E2.
Then the next cell B17 of sheet "RBB" shall output the next value (from left to right) found between the columns L to AY of sheet "Belegerfassung", as mentioned above. And so on, next cell B18... B19. The formula should ignore blank cells in the sheet "Belegerfassung", so it can show only from cells containing values. Also the next coming cells should not reproduce the same value the above cells already reproduced.
Same shall happen to the cells A16, A17, A18... in sheet "RBB". They should reproduce the respective column name from sheet "Belegerfassung" found in row 4.
I tested the below formula, but beside the fact that's too long, it's not effective:
Excel Formula:
=IF(VLOOKUP($E2,Belegerfassung!$A:$AY,12,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,13,FALSE),IF(VLOOKUP($E2,Belegerfassung!$A:$AY,13,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,14,FALSE),IF(VLOOKUP($E2,Belegerfassung!$A:$AY,14,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,15,FALSE),IF(VLOOKUP($E2,Belegerfassung!$A:$AY,15,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,16,FALSE),IF(VLOOKUP($E2,Belegerfassung!$A:$AY,16,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,17,FALSE),IF(VLOOKUP($E2,Belegerfassung!$A:$AY,17,FALSE)="",VLOOKUP($E2,Belegerfassung!$A:$AY,18,FALSE),VLOOKUP($E2,Belegerfassung!$A:$AY,12,FALSE)))))))
P.S.: My regional settings are set up for Germany, that's why I use semicolon instead of comma.