Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default the sum of a row based on condition of a dropdown box

how do i sum a row of vallues based on the condition that the text value in a
dropdown box in a row above it. for example

a b a d a d a total-a total-b total-d
1 1 1 1 1 1 1 4 1 2

the letters are a row of drop down boxes whose values can be text. i have
in the drop down boxes types of leave (annual, sick, famil, etc). at the end
i have totals for each kind of leave.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default the sum of a row based on condition of a dropdown box

take a look at the SUMIF function, I belive it's exactly what you're looking
for.

=SUMIF(A1:D1,"a",A2:D2)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"AHMED" wrote:

how do i sum a row of vallues based on the condition that the text value in a
dropdown box in a row above it. for example

a b a d a d a total-a total-b total-d
1 1 1 1 1 1 1 4 1 2

the letters are a row of drop down boxes whose values can be text. i have
in the drop down boxes types of leave (annual, sick, famil, etc). at the end
i have totals for each kind of leave.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default the sum of a row based on condition of a dropdown box

Thank you so much. It worked perfectly
--
AHMED


"Luke M" wrote:

take a look at the SUMIF function, I belive it's exactly what you're looking
for.

=SUMIF(A1:D1,"a",A2:D2)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"AHMED" wrote:

how do i sum a row of vallues based on the condition that the text value in a
dropdown box in a row above it. for example

a b a d a d a total-a total-b total-d
1 1 1 1 1 1 1 4 1 2

the letters are a row of drop down boxes whose values can be text. i have
in the drop down boxes types of leave (annual, sick, famil, etc). at the end
i have totals for each kind of leave.

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
How can I have a row copy to another worksheet based on dropdown v Shizmonkey New Users to Excel 1 August 12th 09 01:22 PM
Dropdown list with a condition bunt.[_2_] Excel Discussion (Misc queries) 2 December 10th 07 02:29 PM
Sum If based on a 3rd condition ? Steve Excel Worksheet Functions 5 August 18th 07 08:48 AM
Dynamic Forumlas based on Dropdown Bridget from ATL Excel Discussion (Misc queries) 0 October 31st 06 09:10 PM
offer dropdown options based on another dropdown Conor Excel Discussion (Misc queries) 2 January 13th 06 04:28 PM


All times are GMT +1. The time now is 01:00 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"