#### incremental counter for dup number values

```my wife, accountant, is very often bringing home work where she wants to
match offsetting records from two record sets by value only. However, where
one set may have 10 instances of \$25, the other may only have 2 instances of
\$25.

How can I effectively limit the pick of only two records from the set with
10 dups?
```
 0
Utf
1/3/2008 4:41:01 AM
access 16762 articles. 3 followers.

0 Replies
791 Views

Similar Articles

[PageSpeed] 30

Similar Artilces:

Retrieve last non zero value in a range of cells
Hi How do I extract the last non zero value in a range of 5 Cells for Example: A1=95 B1=93 C1=98 D1=0 E1=0 From the example above I would require to choose the value 98 from the Range declared. Some weeks it is possible for all the values to be >0 so therefore I would need the Value in E1 other weeks it may be B1 Would it be possible to return the value I require into Cell G1 in the example above? Thanks Peter Entered in G1 =LOOKUP(2,1/(A1:E1<>0),A1:E1) Gord Dibben MS Excel MVP On Wed, 8 Jun 2011 11:55:19 -0700 (PDT), Pete <fell-walker@hotmail.co.uk> wrote: >...

Placing random numbers in numerical order
I am a new user of excel 2007. I have spread sheet of vehicle #s, 1102-1108, 1824-1828, 3200-2224 etc. Columns from A-M with 25 rows each and open cells in M for adding and deleting vehicles. I am regularly adding and removing #s as inventory changes. I want to be able to clear cells when vehicles exit and add #s in Column M as they return or new #s are added. I want to have the #s reset in numerical order from column A top to bottom, then B top to bottom etc. - - Much of the material in the postings is beyond my current abilities. Please help if you can. B.M. Could you...

How can a single cell be incremented? i.e. N=N+1
I am able to move a value of 1 to a cell with in a macro. I want to be able to add a value of 1 to a cell with in a macro. Each time the cell is referenced, I wish to increment the cell by 1. I have not been able to increment the cell without getting a circular reference in my attempts to incremetn the cell. The process I use is sorting a table and wanting to increment the top cell so that the least used entries will be sorted to the top each time the macro is called. what does your macro look like? "Remel" wrote: > I am able to move a value of 1 to a cell with in a m...

line and column numbers
Hi In Word'03 I am trying to find out how you would insert text into a document at line and column number reference points . so I know that on page 1 and 2 and 3 I would like to enter the value of "1" at Ln 1 Col 35 how would I do this in VBA code. Thanks for your help. Rob -- robhargreaves ------------------------------------------------------------------------ robhargreaves's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=25519 View this thread: http://www.excelforum.com/showthread.php?threadid=392120 The best way is to cheat: record t...

Column heading changed from letters to numbers
Using Excel 2000, all my spreadsheets have changed from having letters at the top of the columns to numbers. How do I change back? Joe Busch Tools / Options / General / Uncheck 'R1C1 reference Style' -- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL2K & XLXP ---------------------------------------------------------------------------- Attitude - A little thing that makes a BIG difference ---------------------------------------------------------------------------- "joe busch" <jbusch@ui.u...

I have the file that Bill Gates won't share... "TMPLTNUM.XLA If you get an error message that you need numbering add in this is the file you will need to put into your office libary directory and make active through tools/addins .. I found the file on the CD for MS Office 95 ... If you can't find the file e-mail me... All the add ins should be in the downloads from MS Office.....Bill just wants you to spend more \$\$\$ calling support....Save \$\$\$ find the file as above or e-mail me.. ...

Create a unique random number
I have 40 questions which i want arranging into 6 sets of 15 questions. To do this i thought i would randomly generate the numbers 1 to 40 15 times and then repeat this. The problem i am getting is i keep on getting some numbers repeating in the sequence. I am using the following code - =RAND()*(40-1)+1. This works but i can't have the same question appearing twice. Anyone know how i can adapt this to suit my needs? Hi, Here are two links that have some answers http://www.iansharpe.com/art_excel_random.php http://www.mcgimpsey.com/excel/udfs/samplenoreplace.html Regards, Bondi I...

Week Number 01-18-10
Hi all I've had a report working in Access for years using week number, this year with the 1st of 2010 being a Friday it has thrown it out, it thinks Mon 4th is week2. I know how to change this in my report to get it to display week one - but is there a function or something I could create to ensure this is correct every year without me having to manually edit my report? The report is based on a crosstab query and displays 14 weeks at a time. The calc for week number is done in an unbound column on the report itself, repeated for each week (ie 14 times). An example follow...

Can you round numbers to display a specific set of numbers, for e.
I am working on a timesheet, and have a question. Due to a request by a user to be able to only enter time with a signle keystroke, for example, 8:00, only enter 8. Due to that, I have changed my cell formatting from time to numbers. Now, I need a formula that will round the number to a set of predetermined minutes. Example: If a user enters 8.25 for a time in, we would like a formula to change the number to 8.30. I need the formula to do this for the following entries: 0-14: 0 15-29: 15 30-44:30 45-59: 45 Any ideas, or am I very far off base? Try this =ROUNDDOWN(TIME(INT(A11)...

Restrict number of records returned by query on form
I have a form with a list box on it. The list box displays the result of a query. The Openargs which is input to the form contains a number. I want to limit the list box to that number of records. That's all. It can display any of the records as long as the number does not exceed this input variable number. The rest of the records do not appear. What is the simplest way of doing this? Should I try to put a SELECT TOP or something like that in my query or should I add a numbering column and use the where clause to select only those records <= the openargs. Robert &qu...

where do I find my serial number?
I have microsoft office on my laptop, and want to take it off and put it on my main desktop. I cannot find my serial number anywhere...it has to be listed somewhere on my laptop...can anyone help?? heather In article <ed975fa9.0401011832.70ba6582@posting.google.com>, kallhoff@dailypost.com (heather) wrote: > I have microsoft office on my laptop, and want to take it off and put > it on my main desktop. I cannot find my serial number anywhere...it > has to be listed somewhere on my laptop...can anyone help?? > First - you're allowed under your End User License Agree...

convert "Text" into "Number" for null or empty value
Hi There Need your help , please I have a field which from database is "text", and have to convert it "number" type. using CDbl function, able to solve it. But problem for data which have "null or "", the result is #Error I'm try to use below queries, but same result. Any other's function? IIf((CDbl([A])="#Error"),0,CDbl([A])) -- Cheers Mohsin Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access/200912/1 Now is works. Using Val([A] & "") mohsin wrote: >H...

Value containing
instead of using Value = "whatever" or Value <> "whatever" is there a way of using Value containing "whateva" and "whateva2" what do i need inplace of containing??? Any help will greatly be appreciated Thank -- Message posted from http://www.ExcelForum.com Hi, I'm sure the VIPs have a much better solution than this, but the formula =IF(ISERROR(MID(A4,MAX(FIND ("cf",A4,1)),2)),"",MID(A4,MAX(FIND("cf",A4,1)),2)) looks for the letters cf in cell A4 - shows cf is there or blank if not present. Enter as an arr...

Getting a value out of a Matrix
Hello, I have a matrix as under: Days <30 day <60 days <90 days Units 0-100 \$20 \$30 \$40 100-200 \$15 \$25 \$35 201-300 \$12 \$22 \$32 This shows if my order is between 0-100 units and if I pay in less than 30 days then my price of the product would be \$20. Further, if my order is between 0-100 and if I pay in less that 90 days then my value of the product would be \$40. Can I have a formula where in a column I put my value and no. of days payment...

Excel formula needed to round up a value to a whole number
I'm making a cost estimation sheet, and need a cell to publish a whole number. This cell is the result of a division formula involving two other cells (ie. 300 sq ft of coverage divided by 200 sq ft of coverage per gallon = 1.5 gallons). I want my formula to round the 1.5 gallons up to 2 gallons. Please help! Thanks, John =roundup(a1,0) or =roundup(a1/a2,0) John A. wrote: > > I'm making a cost estimation sheet, and need a cell to publish a whole > number. This cell is the result of a division formula involving two other > cells (ie. 300 sq ft o...

Shorten RMA number
The RMA number defaults to 12 characters following the "RMA" code, resulting in a ridiculously long number. It would be nice if you could shorten the RMA number the same way you can in the core GP product. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. ht...

Retail Traffic Counters
We're looking to implement the capability of capturing and reporting retail traffic counts ("foot" traffic in and out of our stores). Does anyone know of an INTEGRATED RMS solution? There are a number of systems on the market that can do this ranging from simple IR counters to sophisticated video systems. No system is 100% accurate and there are a number of pitfalls that need to be taken into account when you do this. When you say that you want an integrated system I assume that you mean you want to use the data from the system in conjunction with EPOS or other systems ...

Same Value Axis Numbers in Four Charts
I'm tracking sixteen separate things, four to a chart ... I have all four charts together on one worksheet ... The values of the tests I'm running range anywhere from 14.50 to 15.50 ... The first chart shows the Value Axis Numbers from 14.30 to 15.40 in increments of .10 ... The second chart shows the Value Axis Numbers from 14.80 to 15.20 in increments of .05 ... How can I make all four charts look the same ...??? Thank you ... CJ Hi, The simplest way is to add a dummy series to all four charts. This series needs to contain the minimum and maximum values to be found across...

Unable to assign values to Class Properties
I receive the error message that I am out of stack space. I receive this error message on the first iteration of my loop structure which is puzzling. The errror seems to be the line where I attempt to assign a date value to a class property. In addition to receiving the error message, and the debugger stopping on line 14 below, I noticed the Activitiy.Index property on line 11 is not receiving the proper value either. The Activity.Index should have the the value of one after the assignment but its failing to do so. Any assistance is greatly appreciated. Below is the code: ...

What causes my number pad on my keyboard to suddenly stop functio.
"Tennessee" <Tennessee@discussions.microsoft.com> wrote in message news:CCA2827A-44BF-4DAD-B0BE-CECF676A6DF3@microsoft.com... > Press the NumLock key 7Fredrik ...

how to find the minimum value excluding zeros
Hi every body I'm using the fllowing instruction to find the minimum value in a range MinVal=Application.WorksheetFunction.Min("A1:A100") but I need to exclude the cells with zeros from the search any ideas ? thanks One way: MsgBox Evaluate("MIN(IF(A1:A100=0,"""",A1:A100))") -- Jim "yosilb" <yosilb@walla.com> wrote in message news:4642bddb\$1@news.bezeqint.net... | Hi every body | | I'm using the fllowing instruction to find the minimum value in a range | | MinVal=Application.WorksheetFunction.Min("A1:A100") ...

Number Formatting
Is there any way to specify that a certain number be formated in a specific way (such as "000-0")? The variable has been created already and there doesn't appear to be a way to edit it. Thanks in advance. Look into Client Side SDK - Javascript tag to onchange event. Link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/CrmSdk3_0/htm/v3d0microsoftcrmv3d0sdk.asp Frank Lee Workopia, Inc. http://www.workopia.com/Links.htm "gwhite" wrote: > Is there any way to specify that a certain number be formated in a specific > way (such as "000-0...

Sequential Numbers
I've been struggling with this problem for months! Please help! Here's the problem: I have 10 Excel files with lists of items. Each excel file is about 1000-2000 rows long. The first column is an inventory number that is only populated once I acquire the item - so there are a lot of blanks in the column. My problem is assigning sequential inventory numbers. I worked out a way to disply the next number to use, by finding the highest number on each file and populating 10 rows of a worksheet, then finding the highest number of that list and displaying it in each of the 10 excel fi...