Using form to enter "query criteria" (between values)
Good morning everyone,
I want to create a form with two boxes, where first box is lower limit of
the value and the second upper limit. This values should be used in my query
as filter criteria.
Like this (query filter criteria): > "textbox1" AND < "textbox2"
Does anyone know how I can build this in a form (i.e. connect my textboxes
and query criteria)?
By thinking about for another minute I found the (simple) answer.
In the query criteria I put the following expression:
BETWEEN [forms].[nameofform].[NameofDatefield1] AND
[forms].[name...Pivot table and counting.
I have a pivot table that gives me the number of rides done by a van. I can
have the pivot table return the number of rides, but what I need is the
number vans that participated for a certain day. Example, it is possible to
have 27 trips done by 18 vans, how can I count the number of vans and not
addup the van number?
Any help appreciated.
We need a bit more information on how your source data table is set up.
What information do you have in each column?
sacredarms <email@example.com> wrote:
> I have a pi...Cycle Counting
I am looking for ideas on how to cycle count serial
number tracked items without increasing workload. Our
serialized items are barcoded but the problem is the are
situated on the pallet incorrectly and the pallet is
placed on a third level of a racking system.
If we could just cycle count based on item count
and not include the serial number it would make it easy.
Is this possible in Great Plains. We are running Great
Any suggestions are greatly aprreciated.
...Excluding Rows During Printout
Is there a way to automatically exclude rows when printing an Excel
I have a list of items (in two colums) in a work sheet similar to
Task A: 1
Task B: 0
Task C: 2
Task D: 0
Task E: 0
Task F: 0
Task G: 4
Task H: 1
When I print the worksheet I only want to print lines where the time
cell is not zero. So the printout from the previous data would look
Task A: 1
Task C: 2
Task G: 4
Task H: 1
Is there a...Count
I would like to know how which formula I should use to count some codes & to
ignore the duplicated codes, for example in column A:
Now, I want Excel to count & the result is 3 which are:
Yes I can use PivotTable, but I would like to use a formula because I have
to deal with this every day.
I appreciate your support.
COUNTIF will do it.
=COUNTIF(Rng,Rng), where the criterion is the same as the range:
> I wo...How do I count the # of times a value reoccurs and plot it over ti
I wish to plot a number of errors made by each users and compare it over
time. I have a column of user ID's and a column of dates. I want the chart
to count the number of times each user ID appears and plot against it's
corresponding date. However, each time I try to do this, the chart appears
wrong. Any ideas?
In article <9595B2A1-8282-4AB3-8511-A6776E108164@microsoft.com>,
> I wish to plot a number of errors made by each users and compare it over
> time. I have a column of user ID's and a column of dates. I want t...Summary in the last row
I'm need to make a vba macro where the macro automaticly shall find
the last row and make a summary of the total column D. I cant get
It right, can someone please help?
So far I only has typed following.
Dim lngLastRow As Long
lngLastRow = ActiveSheet.Cells(Rows.Count, "D").End(xlUp).Row
Range("D" & lngLastRow + 1) = _
dim mc as long
Dim lr As Long
mc = 4 'col D
lr = Cells(Rows.Count, mc).End(xlUp).Row
Cells(lr + 1, mc) = _
Application.Sum(Range(Cells(1, mc), Cells(lr, mc)))
Don Guill...Newbie question / plug in a value for a cell based on a range for that value
New to Excel so sorry if this explanation isn't the clearest in terms of
In one section of my spreadsheet I have a list of percentage values
associated with numbers 1-20. For example #10 is listed with the percentage
value of 38.4% in the cell next to it (O14 and P14).
In another section of the spreadsheet I have a quick formula that I'd like
to use these %'s based on what number (1-20) is entered.
In my spreadsheet the % I want to use for this #10 is listed in P14 (38.4%).
What can I plug into my formula so when I enter "10" is kno...getting rid of zero values in a column
i have a set of data on a column that i`ll use to plot on a graph and find a
trendline for its behaviour...problem is: there is zero values in some cells
that were not calculated... i want to copy this data in a new column getting
rid of cells with zero value because it results in a wrong trendline...how
can i do this?please help
this is an example of what i mean:
One of the simpler ways is to hide the rows for the cells that have zeros and
then plot the graph.
> i have a set of data on a ...Read values from excel rows
I am trying to read the values from a excel row. There are 89
columns for each row and same number of data in each rows.
You need to explain how/where you want to read them.... From another workbook, another worksheet, a
VBA function, a macro, a C# application?
MS Excel MVP
"shantanu" <firstname.lastname@example.org> wrote in message
> I am trying to read the values from a excel row. There are 89
> columns for each row and same number of da...count number of characters in rich edit control
How can i count number of characters in rich edit control 2
If u mean controls of type Rich TextBox control, try
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i count number of characters in rich edit control 2
EM_GETTEXTLENGTHEX, WM_GETTEXTLENGTH, WM_GETTEXT, EM_STREAM*
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i co...Multiply all query by same value
I am working with a program called Dictaphone. We use Word 2007 in this
program. The line count on Dictaphone and the line count in Word 2007 are
different even though the Dictaphone text is retrieved from Word 2007. Why
would they be different?
What is the difference between virutal line count and physical line count?
...Makeing a row to be invisible.
Without using VBA, how can I make a row of cells to be invisible base on
value of another cell.
for example: make a row to be invisible (by setting row's text color same
as background color) if another cell's value is equal to zero.
Thanks in advance.
Select row to hide.
Format>Conditional Formatting>Formula is: =$A$2=0
OK your way out.
Gord Dibben Excel MVP
On Fri, 2 Dec 2005 15:21:33 -0800, "A-Design" <email@example.com> wrote:
>Without using VBA, how can I make a row of cells to be ...Counting sales
I have two different datasets. Each with a common identifier. I need a
formula that will reference the identifiers in both datasets and count the
number of sales a particular agent made. Example. look up this identifier
in the other dataset and then give me the value that is 2 columns over from
the identifier in the second dataset.
See if this helps:
Microsoft Excel MVP
"Dave" <Dave@discussions.microsoft.com> wrote in message
>I have two...double-click in between two rows or two columns
How to avoid cursor jumping around to different positions
when I double-click in between two rows or two column ?
This is a feature of Excel! When you double click the border of the selected
cell, the cursor will go to the edge of the contiguous data on the sheet.
It's very useful for jumping to the start/end of data.
I don't know of a way to disable it.
"Ben" <firstname.lastname@example.org> wrote in message
> How to avoid cursor jumping around to different positions
> when I double-c...trying to create an insert row macro
I'm trying to create a macro to streamline a process for one of our factory
guys. Right now, I'm going down and manually inserting rows into a database
and then dragging the needed formulas and information from the rows above
down. What I'm trying to do is make it so he can place his cursor, hit the
macro key stroke and have that done for him. When I record the macro, I
think I am making an absolute cell reference, because when I run the macro it
will only instert where I initially inserted the row. How do I create the
macro so he can select where he wants it ...select query of parent and child in one row
I have a parent table and a child table
one parent has between 1 and 6 children in the child table I wont a
query to have the parent and the child in one "row"
how do I create that?
thanks for helping me
Your table structure is not correct for a relational database but this will
get you there.
This has three but you get the idea and expand on it. Place the table in
the design grid as many times as you have field to combine.
SELECT MultipleFieldData.x, MultipleFieldData.a & IIf(MultipleFieldData_1.b
Is Null,Null," " & MultipleFieldData_1.b) & IIf(MultipleF...From Rows to Columun #3
I have data in rows, I want to past to columns so i can
import intio access... HELP
Example (Current data)
3 42 42 3 38 38 4 22
I want to move to
...How to retrieve value from specific cell value?
Does anyone have any suggestions on how to retrieve value from specific cell
value with specific worksheet?
I would like to create a if-statement within macro,
If specific cell within specific worksheet = 1 then
process following code
Does anyone have any suggestions?
Thanks in advance for any suggestions
If Sheets("sheet1").Range("A1") = 1 Then
MsgBox "run code"
MsgBox "skip code"
> Does anyone have any suggestions on how to retrieve value from specific cell
&...Value Axis Scale Change Problem #2
Thanks Jon - problem solved
dp_fulcher's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=969
View this thread: http://www.excelforum.com/showthread.php?threadid=27033
...Counting Cells with Conditional Formatting
Is there a way to look at a row of data that is either highlighted yellow or
red and to count only the data that is highlighted yellow and give me that
None of my data is numerical....just one letter data, i.e.: "S" or "U"
I just want to count how many of the cells are highlighted yellow in a
specific row, if that makes more sense.
Here's a UDF (Put in a Standard module)
and use it in cell A1, like =CountByColor(A8:H8,6) << where 6 (at
present) = Yellow = change to =CountByColor(A8:H8,3) to get the reds
Function CountByColor(InRa...COUNT ? need formula
I want to track the results of my teams sales performance.
I record if it is a sale, no sale, cancelled etc in column M. I thought I'd
be able to use the COUNT function/formula to be able to search for all the
SALES in column M and place the result in a cell ( column O )but I can't
work it out.
"Diamond Jones" <kwanzaNOSPAM@optusnet.com.au> wrote in message
> I want to track the results of my teams sales perf...Count Function
I am creating a report for the number of pupils being collected at a certain
collection time e.g. 14:00hr and 15:00hrs
using the formula =Count([Child Last Name]) in the collection time footer
However when i try to count the overall number of pupils in the footer using
the same formula, 'Error' appears on screen?
There are potentially a dozen footer sections in a report. Which one is
giving you a problem? What is the name of the control? What is the exact
Microsoft Access MVP
> I am creating a r...Counting a count
How do I count a count??
This is what im trying to do:
I have a database with a table named tblMain and has incorporated everything
within that table but contains info from about 8 other tables. I have not
doesigned this database and it appears to have a very poor structure...anyway
There are three fields involved in this process...'Request' (either
'dispensation', 'waiver' or 'dispensation and waiver'), 'Department' (which
consists of 7 other drop down menu options) and 'RequestStatus' which
contains the status of each request by another...