Hey there, first posting! I'm hoping someone might be able to help me out.
excelexample.jpg
As an example, I'd like a formula to look up each status of 43842, and if it's open, return "Open" and "1". If it's anything but "Open", it can return cancelled or open, doesn't matter.
I used this formula initially. It works but then completely bogged down my computer (array and it's for a huge file).
{=INDEX(Pivot!$A:$C,SMALL(IF(OFFSET(Pivot!$A:$C,0,0,ROWS(Pivot!$A:$C),1)=A6,
ROW(OFFSET(Pivot!$A:$C,0,0,ROWS(Pivot!$A:$C),1))-ROW( OFFSET(Pivot!$A:$C,0,0,1,1) )+1,
ROW(OFFSET(Pivot!$A:$C,ROWS(Pivot!$A:$C)-1,0,1,1))+1),COUNTIF(OFFSET(Pivot!$A:$C,0,0,ROWS(Pivot!$A:$C),1),A6)),2)}
This formula returned the status of the last instance in the data, so worked kind of.
Any help is appreciated!!
Bookmarks