Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steph
 
Posts: n/a
Default Vary column to sum in SumIf

Hi. Given the following Sumif formula:
=SUMIF(Data!$F$7:$F$1100,$A16,Data!$AA$7:$AA$1100)

Column AA is January results, with AB February, AC March, and so on. Above
each column header (for example, in cell AA1) I have the number of the month
(1,2,3 etc). Then I have a pulldown validation list in A1 with 1 through 12
in it. The goal here it to choose a number from the pulldown and have the
formula update and sumif the proper column. It doesn't seem like that
complicated of a problem, but I can't figure it out! Thanks for you help!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Vary column to sum in SumIf

One way

=SUMIF(Data!$F$7:$F$11,$A16,INDEX(Data!$AA$7:$AL$1 1,,A1))


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"Steph" wrote in message
...
Hi. Given the following Sumif formula:
=SUMIF(Data!$F$7:$F$1100,$A16,Data!$AA$7:$AA$1100)

Column AA is January results, with AB February, AC March, and so on.
Above
each column header (for example, in cell AA1) I have the number of the
month
(1,2,3 etc). Then I have a pulldown validation list in A1 with 1 through
12
in it. The goal here it to choose a number from the pulldown and have the
formula update and sumif the proper column. It doesn't seem like that
complicated of a problem, but I can't figure it out! Thanks for you help!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Vary column to sum in SumIf

"Steph" wrote:
Hi. Given the following Sumif formula:
=SUMIF(Data!$F$7:$F$1100,$A16,Data!$AA$7:$AA$1100)

Column AA is January results, with AB February, AC March, and so on. Above
each column header (for example, in cell AA1) I have the number of the month
(1,2,3 etc). Then I have a pulldown validation list in A1 with 1 through 12
in it. The goal here it to choose a number from the pulldown and have the
formula update and sumif the proper column. It doesn't seem like that
complicated of a problem, but I can't figure it out! Thanks for you help!


Another way ..

=SUMIF(Data!$F$7:$F$1100,$A16,OFFSET(Data!$AA$7:$A A$1100,,MATCH($A$1,Data!$AA$1:$AL$1,0)-1))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
help with sumif to calculate column rvnwdr Excel Discussion (Misc queries) 3 June 30th 05 12:38 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


All times are GMT +1. The time now is 05:34 PM.

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"