My apologies if I have repeated myself. As I thought I may have closed off the question yesterday. Hi Following on from this and thank you for your help, is there a way that this will select in col D all characters except 1 or 2 (eg I would like to accept everthing except A) Thanks Anne "T. Valko" wrote: > Try this... > > If column N contains numbers only (or possibly empty cells) > > =SUMPRODUCT(--(B2:B10="QN"),--(C2:C10="IM"),--(D2:D10="R"),--(N2:N10<>0)) > > Better to use cells to hold the criteria: > > P1 = QN > Q1 = IM > R1 = R > > =SUMPRODUCT(--(B2:B10=P1),--(C2:C10=Q1),--(D2:D10=R1),--(N2:N10<>0)) > > -- > Biff > Microsoft Excel MVP

0 |

12/1/2009 1:07:01 AM

Try the below =SUMPRODUCT((B2:B10="QN")*(C2:C10="IM")*(D2:D10<>"")* (D2:D10<>"A")*(N2:N10<>0)) 'if blanks cells in D are to be counted then =SUMPRODUCT((B2:B10="QN")*(C2:C10="IM")*(D2:D10<>"A")*(N2:N10<>0)) -- Jacob "enna49" wrote: > My apologies if I have repeated myself. As I thought I may have closed off > the question yesterday. > > Hi > Following on from this and thank you for your help, is there a way that this > will select in col D all characters except 1 or 2 (eg I would like to > accept everthing except A) > > Thanks > > Anne > > "T. Valko" wrote: > > > Try this... > > > > If column N contains numbers only (or possibly empty cells) > > > > =SUMPRODUCT(--(B2:B10="QN"),--(C2:C10="IM"),--(D2:D10="R"),--(N2:N10<>0)) > > > > Better to use cells to hold the criteria: > > > > P1 = QN > > Q1 = IM > > R1 = R > > > > =SUMPRODUCT(--(B2:B10=P1),--(C2:C10=Q1),--(D2:D10=R1),--(N2:N10<>0)) > > > > -- > > Biff > > Microsoft Excel MVP >

0 |

12/1/2009 1:30:02 AM

see your other post -- Biff Microsoft Excel MVP "enna49" <enna49@discussions.microsoft.com> wrote in message news:B927A961-BA58-44CD-9161-0EFFDCF03E91@microsoft.com... > My apologies if I have repeated myself. As I thought I may have closed > off > the question yesterday. > > Hi > Following on from this and thank you for your help, is there a way that > this > will select in col D all characters except 1 or 2 (eg I would like to > accept everthing except A) > > Thanks > > Anne > > "T. Valko" wrote: > >> Try this... >> >> If column N contains numbers only (or possibly empty cells) >> >> =SUMPRODUCT(--(B2:B10="QN"),--(C2:C10="IM"),--(D2:D10="R"),--(N2:N10<>0)) >> >> Better to use cells to hold the criteria: >> >> P1 = QN >> Q1 = IM >> R1 = R >> >> =SUMPRODUCT(--(B2:B10=P1),--(C2:C10=Q1),--(D2:D10=R1),--(N2:N10<>0)) >> >> -- >> Biff >> Microsoft Excel MVP >

0 |

12/1/2009 3:32:00 AM

Can anybody explain the differences between showing/loading a userform along with hiding/unloading a userform?? I'm guessing that a "load" will create the form in memory but it remains non-visible?? Does that mean that a call of "Userform1.Show" loads it in memory AND makes it visible?? Show : Calls the userform initialize function the first time and not afterwards and displays the userform Load : Is the same as show but doesn't display the userform. Hide : Exits the userform and keeps it in memory so the next time it is Show/Load is perfor...

I've been tracking the performance of two IRA accounts for almost a year now. The number of stocks is almost identical in each account. I created a set of Excel workbooks for each account: Acct 1-Q1 and 2. and Acct 2-Q1 and 2. are complete. They have the same number of pages and are the same approximate size in kb. I'm still adding to the next two workbooks Acct 1-Q3 and 4 and Acct 2- Q3 and 4, but again they have the same number of pages. I'm just cut and pasting into blank worksheets data from a CSV spreadsheet I download from Fidelity. I just happened to notice the size ...

I tried building a chart that displays 1 series in dollar sales and 1 series in unit sales. I tried putting one on a secondary axis, but it always overlaps the columns and changing the series overlap setting doesn't seem to have any effect? Does any one know what is going on and how I can separate columns on separate axis? Thanks, Jamie You need to add a couple dummy series to help align the visible series: http://peltiertech.com/Excel/Charts/ColumnsOnTwoAxes.html - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://...

I have a spreadsheet of shortpayment amounts and their invoice numbers on one spreadsheet with a column of credit amounts with their invoice numbers on another spreadsheet. I need to match the credits written with the shortpayments. kinda like this spreadsheet 1 spreadsheet 2 inv # amount date Credit # Amount Date 122334 15.00 11-25-09 675555 15.00 12-10-09 223345 22.00 10-20-09 754444 22.00 111-25-09 naturally...

I am using an in-cell dropdown list that is populated from a vba string. I have encountered a 255 character limit for the list of lookup items. Is there any way around this other than using spreadsheet cells to store the list values? Thanks, Keith The data validation list can come from a delimited list or a worksheet range. You could store the list on a hidden sheet, if you don't want users to accidentally change it. keithb wrote: > I am using an in-cell dropdown list that is populated from a vba string. I > have encountered a 255 character limit for the list of lookup i...

I'm trying to use outlook as a central location for engineering assignments. The trouble we have is that engineers work in teams of two and so the task has to be sent out to both parties with one of them accepting. I've noticed on Outlook that we get no updates on the tasks when they are assigned to multiple users. Is there a way of getting around this? Cheers ...

Hello, I have a spreadsheet with a number of different worksheets. All I want to do is if I enter a number into a cell on the 2nd worksheet for example, I want it to automatically show in a specific cell on the first worksheet. So a simple copy and paste but for excel to automatically do it for me! it seems like something so easy that I just cant figure out how to do. Try this... Do this once. Select the cell on the 2nd sheet Right click>Copy Navigate to the other sheet and select the cell where you want the value to appear. Right click>Paste Special>Paste Lin...

I have A.dll and B.dll. Assume that A.dll has following functions: A1() A2() Assume that B.dll has following functions: B1() B2() I am loading B.dll from function A1() in A.dll.After Loading B.dll i make a call to B1().After executing the call the function returns to beginning of A2.dll. why is this so? Define "begining". The word tends to make no sense in this context. What you seem to be saying is that you have void A1() { HANDLE h = ::LoadLibrary(_T("B.DLL")); ...test for h==NULL, deal with error typedef void (*B1)() B1Proc; B1Proc B1; ...

Max, That scriptlet was very useful, and easily tweakable to work in myria applications. Thx! -K -- KHashmi31 ----------------------------------------------------------------------- KHashmi316's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1043 View this thread: http://www.excelforum.com/showthread.php?threadid=27348 Glad to hear that ! Thanks for posting back -- Rgds Max xl 97 --- Please respond in thread xdemechanik <at>yahoo<dot>com ---- "KHashmi316" <KHashmi316.1evevz@excelforum-nospam.com> wrote in message news:KHashmi316.1e...

I am a little new to macros and I am having trouble using a suggested macro in my spreadsheet. My simple question is what do I need to do to change the following macro so that it will work on my spreadsheet. Sub DeleteEmptyRows(DeleteRange As Range) ' Deletes all empty rows in DeleteRange ' Example: DeleteEmptyRows Selection ' Example: DeleteEmptyRows Range("A1:D100") Dim rCount As Long, r As Long If DeleteRange Is Nothing Then Exit Sub If DeleteRange.Areas.Count > 1 Then Exit Sub With DeleteRange rCount = .Rows.Count For r = rCount To 1 Step -1 If Application.CountA...

Hi Everyone, Hope I find you well. I'm not even sure how to go about this, so I hope that someone can shed some light. I have a serial number in one cell eg '80199DD270238' where 'DD' is code for another value, in this case 'DD' = 'BLUE'. How can I automatically populate a cell with the value 'BLUE' by looking at the serial number. Many thanks for any help you can provide. Best Regards Gazza Hi if the characters are alsways at the same place use =IF(MID(A1,6,2)="DD","Blue","other color") if they could be at ...

Hi, Let's say I have a '1' or nothing in column 'L' and a time in seconds in column 'B'. The '1' means the time is a legitimate one. Can I do a sum of all the 'legitimate' times in column 'B' based on whether there is a corresponding '1' in column 'L'? Is there a formula that will allow me to do that? Sorry for the ignorance of the question but it is late and I am struggling to make this spreadsheet work for me. Thanks in advance, Dave Hi DL, Look at the SUMIF function in Excel help. Try: =SUMIF(L1:L10...

is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? ...

I have a workbook created that, every time I open it, I get the question: Do you want to update the automatic link to data in another workbook? I didn't consciously set up a link and I don't want to get this message. How do I find this link and break it so I will not continue to get this message? Any help is appreciated. Close any other Excel workbooks you have open and do a "Find" for :\ (colon backslash). If you have several worksheets in your workbook, ask Excel to search the entire workbook by selecting find within "Workbook" instead of "Sheet&quo...

I have a spreadsheet with a budget value in column C, monthly billings in columns D - Q, and the remaining balance in column R. I can use =c3-sum(d3:q3) for row 3, but is there a formula to repeat the calculation for multiple rows without having to type that into the R cell on every row. I'm sure it is simple, I'm just learning. Thanks, kzas Hi Kzas, If I got it right, you want the formula to calculate the sum for al the rows from row 3 up to the row is appears. If so, then the followin should do it: =$c$3-sum($d$3:$q3) -(assuming that there is only one budget figure)- =$c$3-su...

Hi - I've just started using Money 2000 and I've set up a Budget. My question is that in the Budget Forecast graph that I can display, I want to know how to verify that my Budget is valid. If I hover over the first bar in the Forecast (My graph is set to show 'days' as a level of detail) I see 2 figures - one for Day-to-Day Accounts and one for Occasional Expense Fund. If I add these figures together I get a total. What can I check this total against? I've tried looking at the current balances in my accounts and looking at the expenses I have set in my Budget but ...

Can anyone tell me a fast way to check the accuracy of multiple formulas accross multiple worksheets? I have a workbook with about 50 to 60 worksheets in it and I need to check all the formulas for accuracy. Thanks in advance! Rick --- Message posted from http://www.ExcelForum.com/ I have no idea how you would check a formula for accuracy. Can you provide further insight what you mean. What you are looking for, and how you would do this manually. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Sea...

Does anyone know when Mac Office 2008 will be available for those who have software assurance? I've seen many posts claiming the date is Feb 1st. I have yet to receive any feedback from my retailer. Thanks in advance for any help. No, we don't. Ring your account manager :-) On 11/01/08 6:57 AM, in article c0e5e9b3-9f54-4f57-94da-eaf8192d1ff6@h11g2000prf.googlegroups.com, "jerry.kowalewski@gmail.com" <jerry.kowalewski@gmail.com> wrote: > Does anyone know when Mac Office 2008 will be available for those who > have software assurance? I've seen many posts c...

Outlook/Exchange novice here.... I have a user that has archived files to different areas on his laptop. He wants them all to appear in his folder list under Archive Folders. If I copy and paste them into docs and settings\%username%\local settings\application data\microsoft\outlook do i need to rename the files so as not to overwrite the one archived file that is in there? In other words, what is the proper procedure to restore these archived files that are not where Outlook 2k sees them so that they can be viewed in his Archive Folders list? Thank you Hey, What I would do is put...

I am using Exchange 2003 and have implemented IMF on my SBS 2003 server where Exchange and the SMTP gateway resides. Everything looks ok. I opted to have my suspected SPAM archieved to the archieve folder. When using the IMF Companion and viewing these suspected SPAM emails I've noticed one in there that I do not consider SPAM. I used the option to "unblock" this email. My questions are what happens to this email after I unblock it. Does it get forwarded to the addressee and does IMF assign a lower SCL value to allow it to pass next time. Thanks. I believe that the sender is ...

Hi, I need some help on importing data from Excel to Access. The Excel spreadsheet has the same columns, i.e. Date, Description. The problem I am having is that each spreadsheet that will be imported will have some of the same engine numbers, and some new engine number information in the spreadsheet, which is first entered into the DB table. Can Access import different info into the spreadsheet each time if it's in the same table? For example, the table has info Date, Description, A, B, C. The spreadsheet has columns Date, Description, A, E, S. Also, when importing info from an Excel...

I have tried all avenues but to no availe and require assistance urgently please. The formula I require has to in Worksheet A :- [B1] lookup DATA in Worksheet A [A1] SP001 in worksheet B [A] [B] [C] SP001 PL001 16 SP001 PL002 5 SP001 DL001 1 CR001 PL001 5 AR001 DR001 10 Search for all Text String starting with "PL" in [B] with corresponding values but only for SP001. I need the values to be seperated and not summed. see your other post -- Biff Microsoft Excel...

Hello everyone, I have been studying how List Controls work, and now I have two List Controls, A and B. Both of the list controls are in Report_View and they both have the same # of columns. What I would like to do is copy each entry of A into B. I use CListCtrl::GetItem(..) to get the item, and I use CListCtrl::InsertItem(..) to insert the item into B. However, this is not working. It is only inserting the first subitem. Is it possible to copy the entire item i.e, subitems 0-2 from CListCtrl A into CListCtrl B? Thanks ...

Hi All, I have a database to track awards for our program. I have created several queries and reports however I want to do a all inclusive status report for the Awards program. I have made Queries for Pending Awards for the Current Week, Previous Week, Previous Month, Current Month, Previous Qrter, Current Qrter, Current YTD, Previous Year. I also have Queries for presented Awards for Current and Previous: Week, Month, Quarter, Year I have a question that I am stumped on. The several queries that I have made I want to place into one report. In some cases one of these queries may have blank ...

<Tiff1618@discussions.microsoft.com> wrote in message > news:219EB429-F90A-406E-A208-5C787ED70467@microsoft.com... > > Hey again, > > > > Is there a formula I can use to figure out if there is one specific phrase > > in a selection? > > > > I'm updating the attendance prgram at the school that I work at. Every > > student has their own attendance sheet in Excel, and each sheet sort of > > looks > > like this: > > > > |Monday| > > Period 1:| A | (A=Absent; S=Seat time) > > Per...