Hi all - I set few columns A:1 to Q:1 where I enter data, prices, volume, etc. - R:1 to AB:1 are all formulas to return P&L, % Sales, etc.
All formulas are IF's and AND's... to avoid showing DIV/0 errors etc.
Example =IF(AND(L11:M11>0,K11="buy"),(L11-M11),IF(AND(L11:M11>0,K11="sell"),M11-L11,""))
I then formatted the whole thing as a table. When trying to sort, all columns that I manually enter the data works great - the sort adjusts to text and number (A-Z / Largest to smallest). My problem is that all "formula cells" although they are numbers, when I click to sort I get "Sort A to Z" and "Text filters".
I tried to recreate a similar sheet using a table and same formulas and everything works fine.
I also tried to re-write the formula of one column after I created the table so the formula would read Total P/L]]="","",Table3[[#This Row],[GrossTotal P/L]]-Table3[[#This Row],[ Fees]]), no luck.
I'm not sure where the problem lies, that's why I'm posting the order how I created the sheet.
For some reason excel isn't reading it as numbers.
Any help would be appreciated. I googled but no luck...
All formulas are IF's and AND's... to avoid showing DIV/0 errors etc.
Example =IF(AND(L11:M11>0,K11="buy"),(L11-M11),IF(AND(L11:M11>0,K11="sell"),M11-L11,""))
I then formatted the whole thing as a table. When trying to sort, all columns that I manually enter the data works great - the sort adjusts to text and number (A-Z / Largest to smallest). My problem is that all "formula cells" although they are numbers, when I click to sort I get "Sort A to Z" and "Text filters".
I tried to recreate a similar sheet using a table and same formulas and everything works fine.
I also tried to re-write the formula of one column after I created the table so the formula would read Total P/L]]="","",Table3[[#This Row],[GrossTotal P/L]]-Table3[[#This Row],[ Fees]]), no luck.
I'm not sure where the problem lies, that's why I'm posting the order how I created the sheet.
For some reason excel isn't reading it as numbers.
Any help would be appreciated. I googled but no luck...