#### Get the counting of something to get unique info

```Hello,

Is it possible to obtain the number of unique occurences by some ways if I
have the information as follows on three columns:

No     City                 Postal Code
1234  BRAMPTON      GGG
3412 TORONTO         HHH
3412 TORONTO         HHH
1452 YORK                UUU
5623 LONDON            YYY

I would like to have two results that looks like this:
Number of suppliers for Postal Code HHH = 1 (not 2)
Number of suppliers = 4 (not 5)

Thanks,
gmore
```
 0
gmore (3)
2/24/2007 5:48:15 PM
excel 39879 articles. 2 followers.

8 Replies
740 Views

Similar Articles

[PageSpeed] 24

```Count all uniques

=SUMPRODUCT((A2:A20<>"")/COUNTIF(A2:A20,A2:A20&""))

All unique HHH

=COUNT(1/FREQUENCY(IF(C2:C20="HHH",IF(C2:C20<>"",A2:A20)),IF(C2:C20="HHH",IF(A2:A20<>"",A2:A20))))

which is an array formula, committed with Ctrl-Shift-Enter, not just Enter

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"gmore" <gmore@discussions.microsoft.com> wrote in message
news:8F2E5AC4-4895-4D85-A710-FB48C0070998@microsoft.com...
> Hello,
>
> Is it possible to obtain the number of unique occurences by some ways if I
> have the information as follows on three columns:
>
> No     City                 Postal Code
> 1234  BRAMPTON      GGG
> 3412 TORONTO         HHH
> 3412 TORONTO         HHH
> 1452 YORK                UUU
> 5623 LONDON            YYY
>
> I would like to have two results that looks like this:
> Number of suppliers for Postal Code HHH = 1 (not 2)
> Number of suppliers = 4 (not 5)
>
> Thanks,
> gmore

```
 0
bob.NGs1 (1661)
2/24/2007 7:04:48 PM
```Thanks Bob,

I forgot to mention that it is possible to have more than one city for a
given supplier. So, as example, 3412 should be counted as two entities in
this example:

No      City                 Postal Code
1234   BRAMPTON      GGG
3412  MONTREAL        JJJ
3412  TORONTO         HHH
3412  TORONTO         HHH
1782  MISSISSAUGA   HHH
1452  YORK                UUU
5623  LONDON            YYY

How would do you reajust your formulas for both results?
I would like to have two results that looks like this:
1. Number of suppliers with Postal Code HHH = 2 (not 3)
2. Number of suppliers = 6 (not 7)

gmore

"Bob Phillips" wrote:

> Count all uniques
>
> =SUMPRODUCT((A2:A20<>"")/COUNTIF(A2:A20,A2:A20&""))
>
> All unique HHH
>
> =COUNT(1/FREQUENCY(IF(C2:C20="HHH",IF(C2:C20<>"",A2:A20)),IF(C2:C20="HHH",IF(A2:A20<>"",A2:A20))))
>
> which is an array formula, committed with Ctrl-Shift-Enter, not just Enter
>
> --
> ---
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
>
>
> "gmore" <gmore@discussions.microsoft.com> wrote in message
> news:8F2E5AC4-4895-4D85-A710-FB48C0070998@microsoft.com...
> > Hello,
> >
> > Is it possible to obtain the number of unique occurences by some ways if I
> > have the information as follows on three columns:
> >
> > No     City                 Postal Code
> > 1234  BRAMPTON      GGG
> > 3412 TORONTO         HHH
> > 3412 TORONTO         HHH
> > 1452 YORK                UUU
> > 5623 LONDON            YYY
> >
> > I would like to have two results that looks like this:
> > Number of suppliers for Postal Code HHH = 1 (not 2)
> > Number of suppliers = 4 (not 5)
> >
> > Thanks,
> > gmore
>
>
>
```
 0
gmore (3)
2/24/2007 7:25:10 PM
```Try something like this:

With
Your posted data structure in A1:a10

And
D1: (the postal code to match)

Then
This regular formula returns the count of unique "No" and "City"
combinations with that Postal Code:
E1:
=SUMPRODUCT(--(FREQUENCY((C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0),(C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0))*(C1:C11=D1)>0))

and this regular formula returns the count of unique "No" and "City"
combinations
F1:
=SUMPRODUCT(--(FREQUENCY(MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0),MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0))*(ROW(A1:A10)>1)>0))

Does that help?
***********
Regards,
Ron

XL2002, WinXP

"gmore" wrote:

> Thanks Bob,
>
> I forgot to mention that it is possible to have more than one city for a
> given supplier. So, as example, 3412 should be counted as two entities in
> this example:
>
> No      City                 Postal Code
> 1234   BRAMPTON      GGG
> 3412  MONTREAL        JJJ
> 3412  TORONTO         HHH
> 3412  TORONTO         HHH
> 1782  MISSISSAUGA   HHH
> 1452  YORK                UUU
> 5623  LONDON            YYY
>
> How would do you reajust your formulas for both results?
> I would like to have two results that looks like this:
> 1. Number of suppliers with Postal Code HHH = 2 (not 3)
> 2. Number of suppliers = 6 (not 7)
>
> Thanks, I appreciate your help!
> gmore
>
> "Bob Phillips" wrote:
>
> > Count all uniques
> >
> > =SUMPRODUCT((A2:A20<>"")/COUNTIF(A2:A20,A2:A20&""))
> >
> > All unique HHH
> >
> > =COUNT(1/FREQUENCY(IF(C2:C20="HHH",IF(C2:C20<>"",A2:A20)),IF(C2:C20="HHH",IF(A2:A20<>"",A2:A20))))
> >
> > which is an array formula, committed with Ctrl-Shift-Enter, not just Enter
> >
> > --
> > ---
> > HTH
> >
> > Bob
> >
> > (there's no email, no snail mail, but somewhere should be gmail in my addy)
> >
> >
> >
> > "gmore" <gmore@discussions.microsoft.com> wrote in message
> > news:8F2E5AC4-4895-4D85-A710-FB48C0070998@microsoft.com...
> > > Hello,
> > >
> > > Is it possible to obtain the number of unique occurences by some ways if I
> > > have the information as follows on three columns:
> > >
> > > No     City                 Postal Code
> > > 1234  BRAMPTON      GGG
> > > 3412 TORONTO         HHH
> > > 3412 TORONTO         HHH
> > > 1452 YORK                UUU
> > > 5623 LONDON            YYY
> > >
> > > I would like to have two results that looks like this:
> > > Number of suppliers for Postal Code HHH = 1 (not 2)
> > > Number of suppliers = 4 (not 5)
> > >
> > > Thanks,
> > > gmore
> >
> >
> >
```
 0
2/24/2007 7:44:08 PM
```Thanks!  That's really cool!

"Ron Coderre" wrote:

> Try something like this:
>
> With
> Your posted data structure in A1:a10
>
> And
> D1: (the postal code to match)
>
> Then
> This regular formula returns the count of unique "No" and "City"
> combinations with that Postal Code:
> E1:
> =SUMPRODUCT(--(FREQUENCY((C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0),(C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0))*(C1:C11=D1)>0))
>
> and this regular formula returns the count of unique "No" and "City"
> combinations
> F1:
> =SUMPRODUCT(--(FREQUENCY(MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0),MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0))*(ROW(A1:A10)>1)>0))
>
> Does that help?
> ***********
> Regards,
> Ron
>
> XL2002, WinXP
>
>
> "gmore" wrote:
>
> > Thanks Bob,
> >
> > I forgot to mention that it is possible to have more than one city for a
> > given supplier. So, as example, 3412 should be counted as two entities in
> > this example:
> >
> > No      City                 Postal Code
> > 1234   BRAMPTON      GGG
> > 3412  MONTREAL        JJJ
> > 3412  TORONTO         HHH
> > 3412  TORONTO         HHH
> > 1782  MISSISSAUGA   HHH
> > 1452  YORK                UUU
> > 5623  LONDON            YYY
> >
> > How would do you reajust your formulas for both results?
> > I would like to have two results that looks like this:
> > 1. Number of suppliers with Postal Code HHH = 2 (not 3)
> > 2. Number of suppliers = 6 (not 7)
> >
> > Thanks, I appreciate your help!
> > gmore
> >
> > "Bob Phillips" wrote:
> >
> > > Count all uniques
> > >
> > > =SUMPRODUCT((A2:A20<>"")/COUNTIF(A2:A20,A2:A20&""))
> > >
> > > All unique HHH
> > >
> > > =COUNT(1/FREQUENCY(IF(C2:C20="HHH",IF(C2:C20<>"",A2:A20)),IF(C2:C20="HHH",IF(A2:A20<>"",A2:A20))))
> > >
> > > which is an array formula, committed with Ctrl-Shift-Enter, not just Enter
> > >
> > > --
> > > ---
> > > HTH
> > >
> > > Bob
> > >
> > > (there's no email, no snail mail, but somewhere should be gmail in my addy)
> > >
> > >
> > >
> > > "gmore" <gmore@discussions.microsoft.com> wrote in message
> > > news:8F2E5AC4-4895-4D85-A710-FB48C0070998@microsoft.com...
> > > > Hello,
> > > >
> > > > Is it possible to obtain the number of unique occurences by some ways if I
> > > > have the information as follows on three columns:
> > > >
> > > > No     City                 Postal Code
> > > > 1234  BRAMPTON      GGG
> > > > 3412 TORONTO         HHH
> > > > 3412 TORONTO         HHH
> > > > 1452 YORK                UUU
> > > > 5623 LONDON            YYY
> > > >
> > > > I would like to have two results that looks like this:
> > > > Number of suppliers for Postal Code HHH = 1 (not 2)
> > > > Number of suppliers = 4 (not 5)
> > > >
> > > > Thanks,
> > > > gmore
> > >
> > >
> > >
```
 0
gmore (3)
2/24/2007 9:26:13 PM
```"Ron Coderre" <ronREMOVETHIScoderre@bigfoot.com> wrote in message news:DC1B84E7-09F2-45F3-A9DB-34FE3A556578@microsoft.com...
> =SUMPRODUCT(--(FREQUENCY((C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0),(C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0))*(C1:C11=D1)>0))

Hi Ron,

Why not just:

=SUMPRODUCT(--(FREQUENCY(MATCH(A1:A10&B1:B10,A1:A10&B1:B10,0),MATCH(A1:A10&B1:B10,A1:A10&B1:B10,0))*(C1:C11=D1)>0))

Regards,

KL
[MVP - Microsoft Excel]
RU: http://www.mvps.ru/Program/Default.aspx
ES: http://mvp.support.microsoft.com/?LN=es-es
EN: http://mvp.support.microsoft.com/?LN=en-us

```
 0
2/24/2007 10:27:36 PM
```Thank you so much for the feedback. It's much appreciated.....I'm just glad I
could help.

***********
Regards,
Ron

XL2002, WinXP

"gmore" wrote:

> Thanks!  That's really cool!
>
> "Ron Coderre" wrote:
>
> > Try something like this:
> >
> > With
> > Your posted data structure in A1:a10
> >
> > And
> > D1: (the postal code to match)
> >
> > Then
> > This regular formula returns the count of unique "No" and "City"
> > combinations with that Postal Code:
> > E1:
> > =SUMPRODUCT(--(FREQUENCY((C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0),(C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0))*(C1:C11=D1)>0))
> >
> > and this regular formula returns the count of unique "No" and "City"
> > combinations
> > F1:
> > =SUMPRODUCT(--(FREQUENCY(MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0),MATCH(A2:A10&B2:B10&"_",A2:A10&B2:B10&"_",0))*(ROW(A1:A10)>1)>0))
> >
> > Does that help?
> > ***********
> > Regards,
> > Ron
> >
> > XL2002, WinXP
> >
> >
> > "gmore" wrote:
> >
> > > Thanks Bob,
> > >
> > > I forgot to mention that it is possible to have more than one city for a
> > > given supplier. So, as example, 3412 should be counted as two entities in
> > > this example:
> > >
> > > No      City                 Postal Code
> > > 1234   BRAMPTON      GGG
> > > 3412  MONTREAL        JJJ
> > > 3412  TORONTO         HHH
> > > 3412  TORONTO         HHH
> > > 1782  MISSISSAUGA   HHH
> > > 1452  YORK                UUU
> > > 5623  LONDON            YYY
> > >
> > > How would do you reajust your formulas for both results?
> > > I would like to have two results that looks like this:
> > > 1. Number of suppliers with Postal Code HHH = 2 (not 3)
> > > 2. Number of suppliers = 6 (not 7)
> > >
> > > Thanks, I appreciate your help!
> > > gmore
> > >
> > > "Bob Phillips" wrote:
> > >
> > > > Count all uniques
> > > >
> > > > =SUMPRODUCT((A2:A20<>"")/COUNTIF(A2:A20,A2:A20&""))
> > > >
> > > > All unique HHH
> > > >
> > > > =COUNT(1/FREQUENCY(IF(C2:C20="HHH",IF(C2:C20<>"",A2:A20)),IF(C2:C20="HHH",IF(A2:A20<>"",A2:A20))))
> > > >
> > > > which is an array formula, committed with Ctrl-Shift-Enter, not just Enter
> > > >
> > > > --
> > > > ---
> > > > HTH
> > > >
> > > > Bob
> > > >
> > > > (there's no email, no snail mail, but somewhere should be gmail in my addy)
> > > >
> > > >
> > > >
> > > > "gmore" <gmore@discussions.microsoft.com> wrote in message
> > > > news:8F2E5AC4-4895-4D85-A710-FB48C0070998@microsoft.com...
> > > > > Hello,
> > > > >
> > > > > Is it possible to obtain the number of unique occurences by some ways if I
> > > > > have the information as follows on three columns:
> > > > >
> > > > > No     City                 Postal Code
> > > > > 1234  BRAMPTON      GGG
> > > > > 3412 TORONTO         HHH
> > > > > 3412 TORONTO         HHH
> > > > > 1452 YORK                UUU
> > > > > 5623 LONDON            YYY
> > > > >
> > > > > I would like to have two results that looks like this:
> > > > > Number of suppliers for Postal Code HHH = 1 (not 2)
> > > > > Number of suppliers = 4 (not 5)
> > > > >
> > > > > Thanks,
> > > > > gmore
> > > >
> > > >
> > > >
```
 0
2/24/2007 10:28:16 PM
```Thanks, KL

I was experimenting with various numbers/text/blanks scenarios and  I didn't
fine tune my formula enough after I got it to work. Thanks for jumping in and
cleaning it up.

***********
Regards,
Ron

XL2002, WinXP

"KL" wrote:

> "Ron Coderre" <ronREMOVETHIScoderre@bigfoot.com> wrote in message news:DC1B84E7-09F2-45F3-A9DB-34FE3A556578@microsoft.com...
> > =SUMPRODUCT(--(FREQUENCY((C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0),(C1:C10=D1)*MATCH(A1:A10&B1:B10&"_",A1:A10&B1:B10&"_",0))*(C1:C11=D1)>0))
>
> Hi Ron,
>
> Why not just:
>
> =SUMPRODUCT(--(FREQUENCY(MATCH(A1:A10&B1:B10,A1:A10&B1:B10,0),MATCH(A1:A10&B1:B10,A1:A10&B1:B10,0))*(C1:C11=D1)>0))
>
> Regards,
>
> KL
> [MVP - Microsoft Excel]
> RU: http://www.mvps.ru/Program/Default.aspx
> ES: http://mvp.support.microsoft.com/?LN=es-es
> EN: http://mvp.support.microsoft.com/?LN=en-us
>
>
>
```
 0
2/24/2007 10:57:10 PM
```For the number of unique suppliers/city with postal code 'HHH', try the
following formula which needs to be confirmed with CONTROL+SHIFT+ENTER...

=SUM(IF(FREQUENCY(IF(C2:C8="HHH",MATCH(A2:A8&B2:B8,A2:A8&B2:B8,0)),ROW(C2
:C8)-ROW(C2)+1),1))

To exclude rows where Column C equals HHH and the corresponding values
in Column A and B are blank, try the following instead...

=SUM(IF(FREQUENCY(IF(C2:C8="HHH",IF(A2:A8&B2:B8<>"",MATCH(A2:A8&B2:B8,A2:
A8&B2:B8,0))),ROW(C2:C8)-ROW(C2)+1),1))

Hope this helps!

In article <20AB21DC-EBD2-440F-94CC-F89295E30F6C@microsoft.com>,
gmore <gmore@discussions.microsoft.com> wrote:

> Thanks Bob,
>
> I forgot to mention that it is possible to have more than one city for a
> given supplier. So, as example, 3412 should be counted as two entities in
> this example:
>
> No      City                 Postal Code
> 1234   BRAMPTON      GGG
> 3412  MONTREAL        JJJ
> 3412  TORONTO         HHH
> 3412  TORONTO         HHH
> 1782  MISSISSAUGA   HHH
> 1452  YORK                UUU
> 5623  LONDON            YYY
>
> How would do you reajust your formulas for both results?
> I would like to have two results that looks like this:
> 1. Number of suppliers with Postal Code HHH = 2 (not 3)
> 2. Number of suppliers = 6 (not 7)
>
> Thanks, I appreciate your help!
> gmore
```
 0
nospam6383 (18)
2/25/2007 8:29:59 PM

Similar Artilces:

Reflecting info between an excel file and a word one or two excel file.
I have an Excel file that I use as a database with the dates of the time when my company does the maintenance of our electronics tools (we work in an industry that uses them a lot, we have around 200 in an Excel file). So the documents look as follows (the images are copied and edited in paint, that's why they look kinda weird). They are next to each other; I divided it here in order to fit it to word's format (it's in Spanish, there's no need for you to understand what it says anyway): Go to www.caladeamerica.com.ar/1st file.jpg please and see it. We do the maintenance of...

How to get Calendar to send me reminders
I have changed my e-mail address but for some reason I cannot get Calendar to send reminders to my new address - I think I have carried out all that is necessary to effect the changover but I am not getting reminders sent. Can anyone help please? Is the Calendar Live ID based and accessible at Calendar.live.com ? -- ....winston ms-mvp mail "Dabardevon" wrote in message = news:FDC2B3B2-EDE4-41B1-BFC4-C0F9ED59CFB9@microsoft.com... I have changed my e-mail address but for some reason I cannot get = Calendar to send reminders to my new address - I think I have...

limit create window/control max count?
Hi all. I am testing a create control. But I want create many control (more 10000) in dialog. I test dynamic create CButton. It's created about 9800. I want work. 1. have a two dialog.(A, B) 2. A dialog has 40 controls(Button, Spin, static). 3. B dialog has contain A dialog. A dialog is more than 200. 4. create A dialog dynamic.(Using A->Create(IDD, this)) and attach B dialog. A dialog is modaless. 5. But not create about 190. dialog create function return 0. thank for read. Have a nice day. You need to redesign your system, IMO. -- - Mark Randall http://zetech.swehli.com...

Some recipients get the attachment, some get winmail.dat
This one has me baffled. We are using Exchange 2000 and Outlook 2000 and have been for 8 months. No previous problems with attachments (.doc, .xls, .jpg). About 2 weeks ago, we started hearing from certain recipients that the attachment wasn't arriving; instead they were getting an unreadable file called winmail.dat. MS says that this is because the sender is using Rich Text to format the email. We have changed the senders to use Plain Text and still have the same problem. If the email is sent to several recipients, some will get the attachment fine, some will not. This didn'...

How to get the CScrollBar's Handle in CTreeCtrl?
Hey,All: I thought I have a problem when I trid to get the CScrollBar's handle from my CTreeCtrl extended handle. Can anybody tell me whether I can get the handle of the CScrollBar from the CTreeCtrl? Thanks in advance! Carl :-| Carl wrote: > Hey,All: > > I thought I have a problem when I trid to get the CScrollBar's handle from > my CTreeCtrl extended handle. > Can anybody tell me whether I can get the handle of the CScrollBar from the > CTreeCtrl? > > Thanks in advance! > Carl > :-| > > Sorry, it is not that simple. The scroll bars that...

A Crystal Beginner
I am using Crystal 9.2.4.77 and have loaded the Crystal enhancements. Now I want to do against the CRM database. What do I do? I thought I would create a data source to the CRM SQLserver, which I did, then connect to it through Crystal Reports. That works, but when I drill down on the AAA_MSCRM database to choose my tables, it shows me dbo as the only option (where did this come from??) and under that are just a few generic tables. No CRM tables. Something's not quite right. What am I missing? file - log on to aps server "KBLawson" <klawson@aetinc.com> wrote in ...

Unique reports
I need to print multiple reports, each report representing a record in a table. Is there anyway to automatically change the back color of one of the report controls depending on the data in that particular record? Yes. You could code it using vba or, even simpler, use conditional formatting. Select the control in question and the select Format -> Conditional Formatting... Then simply create your rule Close and save your changes -- Hope this helps, Daniel Pineault http://www.cardaconsultants.com/ For Access Tips and Examples: http://www.devhut.net Please rate this pos...

Cannot get fast forward or fast reverse to work with WMP 11
I am running Vista Home Premium on a HP G 217-EM Notebook which comes pre-installed with Windows Media Player 11. When I play cds and try to fast forward or fast reverse by keeping the fast forward or fast reverse buttons constantly depressed nothing happens. Why is this, and can anyone come up with a solution? Many thanks This doesn't work on my system either, so it's probably just a limitation of WMP. Fast forward and fast reverse should work fine when you rip the CD's to MP3 or WMA files, and play these files instead. Regards -- Tim De Baets http://www....

Get paid while you get online!!
I found a great Internet company - Cashfiesta.com - that has created a product everyone can benefit from. They pay you while you work or play on your computer. All you need to do is keep their software - the FiestaBar=99 - active while you are online. They even pay you when your friends are using their computers. Unlike other companies, Cashfiesta gives you control over how much money you earn. They have an individual payrate based on the number of Special Offers you sign up for. As some of these offers are free, you can increase your payrate up to 33 times without spending a penny. It's...

Hello All: I have a relatively large spreadsheet. I am getting errors (see after my signature line). What could be causing these errors? Is it that the spreadsheet is too large? Thanks Deguza -------------------------------------------------------- Microsoft Office Excel File Repair Log Errors were detected in file 'C:\Documents and Settings\deguza\My Documents\sales\Sales_2006_2007.xls' The following is a list of repairs: Global PivotTable report information was repaired due to integrity problems. Global PivotTable report information was repaired due to integrity problems. Glo...

Can't get auto-update (update) to install
Version: 2008 Operating System: Mac OS X 10.4 (Tiger) Processor: Power PC I've been trying to manually check for updates to Word 2008, and I get a &quot;critical update&quot; notice, asking me to install auto-update. When I try to install it, I cannot. It just keeps repeating the attempt, in an &quot;endless loop.&quot; What to do? <br> Thank you. ...

Reg getting the next IV Document Number field !
Hi, I am creating a window in dexterity similar to the item transaction entry window (Transactions>Inventory> Transaction Entry). In the Item transaction Entry window, the Document number field defaults to the next document number when we move the focus to that field. I wanted to know if there is any function , or table that i can access to get the next document number in the new window that i am creating. Thanks, swetha -- swetha >In the Item transaction Entry window, the Document number field defaults to the next document number when we move the focus to that field.< T...

How do I get??
Sorry if this seems a fairly easy question to you guys. I have a spreadsheet and I need to get the current system time into a cell. The format of the time is hh:mm am/pm. Any assistance would be most helpful. Hi try =INT(NOW()) in this cell and format is to your needs -- Regards Frank Kabel Frankfurt, Germany PM wrote: > Sorry if this seems a fairly easy question to you guys. > > I have a spreadsheet and I need to get the current system time into a > cell. The format of the time is hh:mm am/pm. > > Any assistance would be most helpful. PM, in the cell you want pu...

Get notified when Out of Office is on
I am using Outlook 2007. With 2003, when returning from leave, I used to get a notification that the Outlook out of office was still on and asking me if I wanted to switch it off. This reminder no longer appears with 2007. How can I switch this setting on so that I get the notification? "Mary Ann" <MaryAnn@discussions.microsoft.com> wrote in message news:ED5533A7-D0EA-41B8-B1A0-A9D15FB6FD98@microsoft.com... >I am using Outlook 2007. With 2003, when returning from leave, I used to get > a notification that the Outlook out of office was still on and asking me ...

Getting Control ID in Active X control
GetWindowLong return 0. You need to call GetDlgCtrlID from outside the activex control as the function available within the control returns an arbitrary value of zero. Take a look at this article http://xendra.ens.uabc.mx/~sinfante/loo/libro/ch17_4.htm particularly the paragraph preceeding the title "MFC and Ambient Properties". This really begs the question why you want the ID in the first place as activex controls have to be fully self containing to operate - with a few exceptions where sibling controls need to be able to locate each other. - Tim "ytv" <...

over VPN, it gets stuck when sending outgoing email
When I use VPN to connect to work from home, the outlook can not finish sending outgoing emails. The progress bar moves to the end but then stops there forever. It can never finish. The receiving of new incoming emails work fine. All other network functionality works, e.g. internet browsing, telnet, ftp, etc, all work fine. My system is win2k. I use linksys wireless DSL router. I'd appreciate any hint! Are you using Exchange server? I'd set up your mail profile to prompt you to work offline or online - when using VPN, work offline with scheduled syncs. If not using exchange, pos...

Get photos from a camera
I have an asp.net intranet application that I need to upload 1 or all photos from a digital camera at a PC workstation. We are using DataGrids and GridViews to display them on the web once they are uploaded but need something at the client. I assume I need some sort of ActiveX process or something. Has anyone run into a solution for this need? Thanks. -- David "DavidC" <dlchase@lifetimeinc.com> wrote in message news:2B061F4F-B548-4AA4-96FA-2F87383192D2@microsoft.com... > I have an asp.net intranet application that I need to upload 1 or all > photos ...

Count Cell Range
I am having problems figuring out a Count command within a certain range. This is what I am looking for If Cells D1:D20 are less than Cell B2, Count the total cells that are less than B2 I know this is probably easy, but i just font get it Thanks again -- discgolfer_1999 ------------------------------------------------------------------------ discgolfer_1999's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=27821 View this thread: http://www.excelforum.com/showthread.php?threadid=473667 Hi! Try this: =COUNTIF(D1:D20,"<"&B2) Biff "...

how to get the format of this cell right?
When I let go: Selection.Replace " ", Replacement:="-", Lookat:=xlPart, _ SearchOrder:=xlByColumns, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False " " is entered by means of an array: Words = Array(" ", "+", "/", "---", "--", "&") on a cell containing: 5 a I would expect to get: 5-a as a result. Unfortunately, it produces 5:00:00-AM. How can I solve this tiny but frustrating problem? best regards Pet...

unique value
Hi, I need to add a custom field, but I need this field to be unique (something similar to a primary key) bud I do not know how to do that. Thanks a lot. An example might be a Case number. You would add the field then add code to add one to the largest value found in the database. This will require code to implement ============================== John O'Donnell Microsoft CRM MVP http://www.crowecrm.com "arielqs" <arielqs@discussions.microsoft.com> wrote in message news:10AA3E00-686E-4B58-B8C4-52B83CB1E538@microsoft.com... > Hi, I need to add a custom field, bu...

how to get the pointer variable address from a dll
hi all, I have a DLL which has a output parameter LPVOID, A application calls this DLL function, the Dll responsibility is to assign a valid pointer to the lpBuffer, Till here it is OK, but once it returns to the Application this lpBuffer becomes NULL. Prototype, __declspec(dllexport) BOOL TRSTMonGetStatus(LPVOID lpBuffer) Please let me know what to do, I am stuck in this. try this __declspec(dllexport) BOOL TRSTMonGetStatus(LPVOID &lpBuffer) AliR. <karunyalakshmi@gmail.com> wrote in message news:1182179607.989434.318540@x35g2000prf.googlegroups.com... > > hi a...

How do I get my best friend back?
I NEED TO KNOW "monsterboy16" <monsterboy16@discussions.microsoft.com> wrote in message news:7918DF09-EB34-46E4-852E-8DAAC3FFF45F@microsoft.com... > I NEED TO KNOW Easy. Just lift the lid on your toilet seat and whistle. Dipshit! -- "Don't pick a fight with an old man. If he is too old to fight, he'll just kill you." Pretend that you're in a coma and unable to communicate in any way (such as posting messages in newsgroups). "monsterboy16" <monsterboy16@discussions.microsoft.com> wrote in message news...

Why do I get this?
IMCEAEX-_O=ABC_OU=CN121_CN=RECIPIENTS_CN=USER1@companyABC.com <-- why am I getting this as the FROM field from a recently upgrade user to Exchange 2003? ...

Excel Data List Gets "Stuck" -- Help
This has now happened for the second time. I have a "data list" that is around 1800 rows in size. Somcetimes, after I've filtered the data to show just a small number of rows, it gets "stuck." I I am no longer able to expand the list to show all the rows. I've gone in to all the columns and chosen "All" for all the columns and it still does not work. I know I can highight the entire list and tell it to remove the list and recreate the list, but that's a pain, and I lose some formatting. Can anyone help me? -- slobizman -----------------------...