gilbertjay07
New Member
- Joined
- Aug 22, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hello,
I could really use some help with this formula. What I'm trying to do is take the value in column B (called "Tab") and match it to the corresponding value in the table (columns G:O).
For example, the first item's value would be 10.69.
But when the value returned is 0, it should return the next column's value, as seen with item 80753C.
The problem I have is for item 871914. It is at F tab, which is 0 (F11), so the current formula that I'm using would return the value from E11, which is 0 in this case. How can I have it repeatedly check the next cell over until it returns a value greater than 0 (C11 in this case)?
I could really use some help with this formula. What I'm trying to do is take the value in column B (called "Tab") and match it to the corresponding value in the table (columns G:O).
For example, the first item's value would be 10.69.
I'm currently using INDEX to match this value to the correct item, here is my formula: =INDEX(G8:O8,1,IF(B8="X",1,IF(B8="F",2,IF(B8="E",3,IF(B8="D",4,IF(B8="C",5,IF(B8="B",6,IF(B8="A",7,IF(B8="G",8,9)))))))))
But when the value returned is 0, it should return the next column's value, as seen with item 80753C.
=IF(P10=0,INDEX(G10:O10,1,(IF(B10="X",1,IF(B10="F",2,IF(B10="E",3,IF(B10="D",4,IF(B10="C",5,IF(B10="B",6,IF(B10="A",7,IF(B10="G",8,9)))))))))+1),P10)
The problem I have is for item 871914. It is at F tab, which is 0 (F11), so the current formula that I'm using would return the value from E11, which is 0 in this case. How can I have it repeatedly check the next cell over until it returns a value greater than 0 (C11 in this case)?