Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Need a Lookup/Sumif Combo Formula

I have 4 columns that contain amounts which can be the same in all four
columns, they can be different and can also be blank. If they are the same,
I want the amount only once but if they are different, I want to sum only the
amounts that are different. Blank cells can be ignored.

A B C D
500.00 500.00 500.00 = this would return value
of 500.00
100.00 100.00 200.00 200.00 = this would return value of
300.00



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Need a Lookup/Sumif Combo Formula

=SUMPRODUCT((A1:D1<"")/COUNTIF(A1:D1,A1:D1&""),A1:D1)

"LSully" wrote:

I have 4 columns that contain amounts which can be the same in all four
columns, they can be different and can also be blank. If they are the same,
I want the amount only once but if they are different, I want to sum only the
amounts that are different. Blank cells can be ignored.

A B C D
500.00 500.00 500.00 = this would return value
of 500.00
100.00 100.00 200.00 200.00 = this would return value of
300.00



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
Data validation combo box lookup PCreighton Excel Worksheet Functions 0 September 24th 07 06:24 PM
How do i combine a lookup and a sumif formula? T-J Excel Discussion (Misc queries) 8 July 13th 07 01:17 PM
combo boxes and lookup Addz New Users to Excel 7 July 30th 05 11:36 PM
sumif? lookup? Duane Excel Worksheet Functions 3 April 30th 05 07:14 PM
Help with SUMIF, INDEX, LOOKUP Please !! Robert Excel Worksheet Functions 13 March 13th 05 12:17 AM


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