A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

validation of three conditions in three columns and then adding up from the 4th



 
 
Thread Tools Display Modes
  #1  
Old February 15th, 2004, 01:37 PM
tajammul faheem
external usenet poster
 
Posts: n/a
Default validation of three conditions in three columns and then adding up from the 4th

could anyone out there can help me with the following.

I have created an excel worksheet with following columns
Sn name CA/PS LS/SS CA Size Qnty
1 XYZ CA LS XL 2
2 XYZ CA SS L 2
3 XYZ PS LS XXL 2
4 XYZ PS SS M 2

i want to validate 3 columns ie CA/PS LS/SS CA Size
eg if CA/PS=CS and LS/SS=LS and CA Size=XL(all in the
range of rows) then it should sum from the Qnty column

Your help and assitance will be highly appreciated

thanks
tajammul

  #2  
Old February 15th, 2004, 01:41 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default validation of three conditions in three columns and then adding up from the 4th

Hi
try
=SUMPRODUCT((C2:C999="CS")*(D2999="LS")*(E2:E999 ="XL"),F2:F999)
assuming that row 1 is a heading row

--
Regards
Frank Kabel
Frankfurt, Germany

tajammul faheem wrote:
could anyone out there can help me with the following.

I have created an excel worksheet with following columns
Sn name CA/PS LS/SS CA Size Qnty
1 XYZ CA LS XL 2
2 XYZ CA SS L 2
3 XYZ PS LS XXL 2
4 XYZ PS SS M 2

i want to validate 3 columns ie CA/PS LS/SS CA Size
eg if CA/PS=CS and LS/SS=LS and CA Size=XL(all in the
range of rows) then it should sum from the Qnty column

Your help and assitance will be highly appreciated

thanks
tajammul

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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