Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to use the If function in excel?

So I have a question. If I have data as follows:

a / b / c / d

aaa / 123456 / $100.00/

aaa / 123456 / $100.00/

aaa / 123456 / $100.00/

aaa / Total / $300.00/

bbb / 221454 / $10.00/

bbb / 221454 / $10.00/

bbb / 221454 / $10.00/

How do I make an "If" function to create a text on line D as follows: If subtotal is less than $100.00. Then write (No) on Line D next to every Serial Number line. Not only the subtotal, but next to every serila number under that subtotal.

---OR---

How do I make an if function to make all serials above subtotals under $100.00 to be automatically hidden so that I can manually write (text) next to the ones that need it or not.

The first option would help me but the second one is another way of doing it in case you don't know how. Anyway, thanks! I dont think the first option is that complex, I just need a how to... Thanks!

Update:

Please remember, I only want to take in consideration the SUBTOTAL & automaticlaly write (text) in line D next to all the amounts what were considered to make the subtotal.

Thanks!!!

Update 2:

The Subtotal Text & the subtotal $ are on the same line, but in different columns. Just as I showed you before.

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    hmmm...try this

    A2 to C8 has the given data

    i assumed row 1 (a,b,c,d) were just column labels...not that it matters

    copy&paste this in D2

    =IF(SUMPRODUCT((A$2:A$8=A2)* (B$2:B$8=B2)*(C$2:C$8))<100,"No","")

    copy&paste the formula down to D8

    change all 3 of the $8 to the last row in your real sheet.

    it should just work....although you might have an issue with the "Total" rows...i would need a larger sample for that.

    feel free to email me if its not

Still have questions? Get your answers by asking now.