LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default if statements using words

So I have a spread sheet with 4 columns Months and section are lists,
subsection is a list dependant on the choice from section.
A B C D
1 Month Section Subsection Cost
2
3
4
5

I then have a second sheet that I want to add up total costs based on Month
and subsection, much like below.

Jan Feb Mar Apr
Subsection 1 =
Subsection 2
Subsection 3


i thought an if statement with an if statment with a sumif in it would work
like this..

=IF(Sheet1!A2:A6="January",IF(SUMIF(Sheet1!c2:c6," Subsection
1",Sheet!D2:D6)0,SUMIF(Sheet1!c2:c6,"Subsectio n 1",Sheet!D2:D6),""),"")

But it doesn't and i think it's cause you can't have an if statement of
"IF(Sheet1!A2:A6="January"," or maybe there is even an easier way to write it
but in any case... i'm stumped and need help


 
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
in words figurs in words Excel Worksheet Functions 1 August 22nd 08 01:20 PM
how to convert numeric to words Example 525 in words (Twenty five Ganta Amar Nath Excel Discussion (Misc queries) 2 July 17th 08 10:21 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
words Debbie Excel Discussion (Misc queries) 2 August 5th 05 06:25 PM
how do i insert words into a column without erasing the words soccer5585 Excel Discussion (Misc queries) 0 June 8th 05 11:06 PM


All times are GMT +1. The time now is 11:17 PM.

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

About Us

"It's about Microsoft Excel"