Hi all
I need help with this formula.
If cells D15:D100 contain the product name "TEFLON" THEN count all the cells that contain the letter "A" in cells J15:U1500 and return that number.
Some assistance would be awesome.
THank you
Hi all
I need help with this formula.
If cells D15:D100 contain the product name "TEFLON" THEN count all the cells that contain the letter "A" in cells J15:U1500 and return that number.
Some assistance would be awesome.
THank you
Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
while you are mocking up a workbook, you might want to address the following:
1) is "teflon" alone in a cell in column D or can it be part of a longer description like red teflon pan?
2) same question for the letter A, does it appear alone in a cell and that is what you want to count in the range of from columns J through U?
3) lastly, most often the way sumifs and countifs work is by counting across the SAME row, so that if D17 has teflon and K17 has A you would count it but what would be the criteria to count a row P200 that contains an A when your range for counting "teflon" ends at row 100? Usually the ranges have to be the same or the formula will not work.
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
I have attached a copy of the excel document.
so I need a formula for the red highlighted cells in the top table in the spreadsheet. I need it so that it updates the PRODUCT TOTALS under the headings "ACTIVE", "DEAD", "LOST" & "CONVERTED" WHEN A CODE (BEING "a" - ACTIVE, "d" - DEAD, "l" - LOST & "c" - CONVERTED is entered in the "2020" calendar section, based on what product is chosen in column D (PRODUCT). Does that make sense? sorry I am hopeless at explaining things!
Hi
as answers are tailored to the XL version, please add your correct XL version to your profile. Thanks
Remove the trailing space from H1, then in E2 copied across and down:
=SUMPRODUCT(($D16:$D21=D2)*($J$16:$U$21=MID(RIGHT(E$1,3),2,1)))
Administrative Note:
Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
Last edited by AliGW; 01-06-2022 at 03:20 AM.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
That doesn't work. The $ are missing and it doesn't count the cs.
So change the headers to ACTIVE ( a ) ... with a space either side of the code letter... to prevent Excel changing (c) to the copyright symbol.
Delete the training space in H1, as mentioned.
Delete the value in D6, TEFLON-PTFE. It's aready there in row 2.
Then use this, with the $ signs correctly assigned:
=SUMPRODUCT(($D$16:$D$21=$D2)*($J$16:$U$21=MID(RIGHT(E$1,4),2,1)))
It gives a total of 16 (the correct answer). If you want to remove the zeros, which can be a bit distracting, modify to:
=IFERROR(1/(1/SUMPRODUCT(($D$16:$D$21=$D2)*($J$16:$U$21=MID(RIGHT(E$1,4),2,1)))),"")
Last edited by Glenn Kennedy; 01-06-2022 at 05:03 AM.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Good spot.That doesn't work. The $ are missing and it doesn't count the cs.
Works fine without adding the spaces i,e "(c)" but with correct absolute addressing.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Please try,
change D2 to POLYETHYLENE
Formula in E2
=SUM(IF(($D$14:$D$86=$D2),--($J$14:$U$86=LOWER(LEFT(E$1,1)))))
Follow with Ctrl-Shift-Enter for array formula.
Regards.
My English is very poor, so please be patient >_<"
My Dynamic Related Dropdown post:
https://www.excelforum.com/excel-for...ml#post5657376
https://www.excelforum.com/excel-for...ml#post5655711
https://www.excelforum.com/excel-for...ml#post5655762
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks