Glenda, Someone else may have a better solution but I wonder if the SUMIF and COUNTIF functions wouldn't be of use here. Maybe something like: =SumIF(A1:A50,"Illinois",B1:B50)/CountIF(A1:A50, "Illinois") This should give you an average for the given state. I'll sneak a plug in for Access here as it would be able to do the work for you on this and give you an average for each state listed in your file if you wanted it to. Just a thought. It all depends on what you need out of the data. James La Borde South Western Federal Credit Union -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Wednesday, April 16, 2003 9:47 AM To: 'mso@xxxxxxxxxxxxx' Subject: [mso] Re: If or Average? Excel :VSMail mx3 Maybe this is a better question... How can I average one named range if another named range has a specific value? example (hopefully makes sense) If named range State value = Illinois, average named range Sales (where the state value = Illinois) /g -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Wednesday, April 16, 2003 12:28 PM To: 'mso@xxxxxxxxxxxxx' Subject: [mso] If or Average? Excel Hi All. I would like to do averages by state. I have a list of states with the values I want to average on. I just can't figure out how to get the average. Well, I could do a subtotal thing but I want the averages to stand alone so I can do charts and such. Any ideas, please send them on. I'm practically exhausted with the process I've been working on the past 2 weeks and can't think straight. Thanks. /g ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************