Forum Discussion

Marktenbokkel's avatar
Marktenbokkel
Copper Contributor
Apr 16, 2024

ignoring black cell (or part of the formule)

hello, 

 

table 1

table 2

 

out of the first table i collect data, to my dashboard (table 2) 

the problem i have is: that under kind of trade is a dropdownlist used as a filter with: real trade, example, mist trade and so on.

now is my question is: how do i make a formule were i get all the results if B3 is empty and the results if there's text in B3 like "real trade"

 

=SUMIFS('TRADES ENTRY'!$E:$E;'TRADES ENTRY'!$K:$K;DASHBOARD!B6;'TRADES ENTRY'!$F:$F;DASHBOARD!$C$3;'TRADES ENTRY'!$G:$G;DASHBOARD!$B$3)

 

thanks for helping! 

  • Marktenbokkel 

    =SOMMEN.ALS('TRADES ENTRY'!$E:$E;'TRADES ENTRY'!$K:$K;DASHBOARD!B6;'TRADES ENTRY'!$F:$F;ALS(DASHBOARD!$C$3="";"*";DASHBOARD!$C$3);'TRADES ENTRY'!$G:$G;ALS(DASHBOARD!$B$3="";"*";DASHBOARD!$B$3))

     

    You are welcome! I've added dropdowns in cells B3 and C3 in the attached file. This formula checks in addition if in cell C3 long/short or an empty cell is selected.

    • Marktenbokkel's avatar
      Marktenbokkel
      Copper Contributor
      Thanks for your reaction! unfortunately it doesn't work my excel is in dutch (netherlands) maybe this gives a issue.
      i get a arror

      any other ideas ?

      kind regards Mark
      • OliverScheurich's avatar
        OliverScheurich
        Gold Contributor

        Marktenbokkel 

        =SOMMEN.ALS('TRADES ENTRY'!$E:$E;'TRADES ENTRY'!$K:$K;DASHBOARD!B6;'TRADES ENTRY'!$F:$F;DASHBOARD!$C$3;'TRADES ENTRY'!$G:$G;ALS(DASHBOARD!$B$3="";"*";DASHBOARD!$B$3))

         

        Which error message did you get when you opened the attached file from my first reply? I've translated the formula into dutch. Below you can see the results from my sheet. The formula works in Excel 2013 and Excel for the web on my computer.

         

        Sheet "DASHBOARD":

        Sheet "TRADES ENTRY":

    • Marktenbokkel's avatar
      Marktenbokkel
      Copper Contributor
      never mind! i copied only the last bid of your formule, i didn't see the part IF(DASHBOARD......
      i copied only the part ="",",*",DASHBOARD!$B$3))
      thank you so much!! you're a life saver!!
      i was bussy for a full week with this, and looked so many video's but could not find it..

      thanks again! have a great day!

Share