Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default need some conceptual guidance, advanced excel

Hi there,

I need to add a lookup function in a spreadsheet that grows every month with
new data. I'm trying to do one of the following, but keep getting stuck.

1) Create a VLOOKUP & SUMIF procedure that sums the values in a table which
meet 2 to 3 VLOOKUP conditions (i.e. the text/values in 2 or 3 of the
adjacent columns match - matching just one is not enough)

OR

2) Automate a process whereby a name can be defined for a specified range of
data based on an input cell (i.e., if my input cell was "February 2005", a
macro could create a name for a data range "February 2005")

Are either of these possible??

Thank you so much!!!!

Marika


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default need some conceptual guidance, advanced excel

=sumproduct(--(range1 = "a"),--(range2 = "b"),--(range32),--(range4=21))
does a count of rows that meet all conditions
=sumproduct(--(range1 = "a"),--(range2 =
"b"),--(range32),--(range4=21),range5)
sums up values in range5 where conditions specified are met

each rangeX is a single column area and each has the same number of rows or
it can be applied to a single row area with equal number of columns in each
but this usually isn't the paradigm of a database layout.


range("A1:B200").Name = Range("C1").Value

where C1 = "February_2005" without the quotes. Note that names can't
contain spaces.

--
Regards,
Tom Ogilvy


"marika1981" wrote in message
...
Hi there,

I need to add a lookup function in a spreadsheet that grows every month

with
new data. I'm trying to do one of the following, but keep getting stuck.

1) Create a VLOOKUP & SUMIF procedure that sums the values in a table

which
meet 2 to 3 VLOOKUP conditions (i.e. the text/values in 2 or 3 of the
adjacent columns match - matching just one is not enough)

OR

2) Automate a process whereby a name can be defined for a specified range

of
data based on an input cell (i.e., if my input cell was "February 2005", a
macro could create a name for a data range "February 2005")

Are either of these possible??

Thank you so much!!!!

Marika




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Excel Expert Certification Guidance Matthew S Excel Discussion (Misc queries) 1 January 6th 11 10:24 PM
Excel novice seeking guidance Arch Excel Discussion (Misc queries) 1 October 13th 08 05:07 PM
Excel functions - need some guidance. Dave[_5_] Excel Discussion (Misc queries) 3 February 6th 08 04:22 PM
new guy with a conceptual question Jay[_16_] Excel Programming 3 March 5th 04 06:59 PM
Conceptual Problem with DAO/ADO Recordset Eddy[_3_] Excel Programming 0 September 8th 03 07:43 AM


All times are GMT +1. The time now is 01:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"