![]() |
count problem part 2
KL and Sandy Man helped with my first problem, time for my second
A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
=SUMPRODUCT(--(Sheet1!C1:C1000=3),--(Sheet1!D1:D1000=""))
-- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... KL and Sandy Man helped with my first problem, time for my second A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
bob
can i get it to look at a whole column of data. Tried to adapt what you sent but falls over. Sorry but what do you mean by "remove nothere from the email address if mailing direct" -- Regards vipa "Bob Phillips" wrote: =SUMPRODUCT(--(Sheet1!C1:C1000=3),--(Sheet1!D1:D1000="")) -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... KL and Sandy Man helped with my first problem, time for my second A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
Not a whole column, SP doesn't handle that but you can have a much larger
end row, say 30000. It means that I don't want web crawlers to harvest my email address, so I disguise it. -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... bob can i get it to look at a whole column of data. Tried to adapt what you sent but falls over. Sorry but what do you mean by "remove nothere from the address if mailing direct" -- Regards vipa "Bob Phillips" wrote: =SUMPRODUCT(--(Sheet1!C1:C1000=3),--(Sheet1!D1:D1000="")) -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... KL and Sandy Man helped with my first problem, time for my second A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
Bob
used the formla =SUMPRODUCT(--(Sheet1!C1:C30000=1),--(Sheet1!D1:D30000="")) and tried to verify the data. I seem to be getting different totals. I am wondering if it struggling with blank cells or the -- is an issue? regards Paul -- Regards vipa "Bob Phillips" wrote: Not a whole column, SP doesn't handle that but you can have a much larger end row, say 30000. It means that I don't want web crawlers to harvest my email address, so I disguise it. -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... bob can i get it to look at a whole column of data. Tried to adapt what you sent but falls over. Sorry but what do you mean by "remove nothere from the address if mailing direct" -- Regards vipa "Bob Phillips" wrote: =SUMPRODUCT(--(Sheet1!C1:C1000=3),--(Sheet1!D1:D1000="")) -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... KL and Sandy Man helped with my first problem, time for my second A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
Are they really blank?
Maybe try =SUMPRODUCT(--(Sheet1!C1:C30000=1),--(ISBLANK(Sheet1!D1:D30000)) or =SUMPRODUCT(--(Sheet1!C1:C30000=1),--(TRIM(Sheet1!D1:D30000=""))) -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... Bob used the formla =SUMPRODUCT(--(Sheet1!C1:C30000=1),--(Sheet1!D1:D30000="")) and tried to verify the data. I seem to be getting different totals. I am wondering if it struggling with blank cells or the -- is an issue? regards Paul -- Regards vipa "Bob Phillips" wrote: Not a whole column, SP doesn't handle that but you can have a much larger end row, say 30000. It means that I don't want web crawlers to harvest my email address, so I disguise it. -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... bob can i get it to look at a whole column of data. Tried to adapt what you sent but falls over. Sorry but what do you mean by "remove nothere from the address if mailing direct" -- Regards vipa "Bob Phillips" wrote: =SUMPRODUCT(--(Sheet1!C1:C1000=3),--(Sheet1!D1:D1000="")) -- HTH RP (remove nothere from the email address if mailing direct) "vipa2000" wrote in message ... KL and Sandy Man helped with my first problem, time for my second A b c d e 120873 50183368 6 blank REL NMAT PRC SETC 120873 50183299 4 blank CLSD PRT NMAT PRC 122873 50185108 3 blank PCNF NMAT PRC SETC 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT 122873 50147658 5 HUDS003115 REL NMAT PRC SETC I want to count only those records in column C with a 3 in and where a blank (null) exists in column D. I have pieced togther the following based on previous help, but doesn't work. I want the range to equal the contents of a column because the data will vary on a month by month basis and I want people to simple paste their data into a sheet and it calculates everthing on a separate sheet. =SUMPRODUCT(--(Sheet1!C1="1"),--(LEFT(Sheet1!D1,3)<"HUD*")) -- Regards vipa |
All times are GMT +1. The time now is 07:21 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com