Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Simple Question Complicated Formula

I have a long formula that I'm trying to modify:

{=IF(OR(I3TODAY(),I3=""),"",SUMPRODUCT((Client_Da ta!$A$3:$A$4000<=$B3)*((Client_Data!$N$3:$N$4000=" ")+(Client_Data!$N$3:$N$4000=$B3))*(Client_Data!$ K$3:$K$4000=K$2)))}

Row 2 includes headers and this formula pulls data from the Client_Data
sheet which matches the K header. What I'm trying to do is to rewrite this
formula so that it doesn't look at the header's text but can be any text
found on the sheet.

I'm looking for the wildcard character to say "any text found in matching
cells". My guess is, "*", but when I enter the formula:

{=IF(OR(I3TODAY(),I3=""),"",SUMPRODUCT((Client_Da ta!$A$3:$A$4000<=$B3)*((Client_Data!$N$3:$N$4000=" ")+(Client_Data!$N$3:$N$4000=$B3))*(Client_Data!$ K$3:$K$4000="*")))}

It doesn't work the way it should. Can someone please help me exchange the
K$2 entry please??? Seems simple but it's eluding me.

Thanks in advance!
--Dax
--
I would give my left hand to be ambidextrous!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Simple Question Complicated Formula

Trusting that your formula otherwise does what you want, try

=IF(OR(I3TODAY(),I3=""),"",SUMPRODUCT((Client_Dat a!$A$3:$A$4000<=$B3)*((Client_Data!$N$3:$N$4000="" )+(Client_Data!$N$3:$N$4000=$B3))*(LEN(Client_Dat a!$K$3:$K$4000)0)))

This does NOT need to be array-entered with Ctrl-Shift-Enter.

Hope this helps,

Hutch

"Dax Arroway" wrote:

I have a long formula that I'm trying to modify:

{=IF(OR(I3TODAY(),I3=""),"",SUMPRODUCT((Client_Da ta!$A$3:$A$4000<=$B3)*((Client_Data!$N$3:$N$4000=" ")+(Client_Data!$N$3:$N$4000=$B3))*(Client_Data!$ K$3:$K$4000=K$2)))}

Row 2 includes headers and this formula pulls data from the Client_Data
sheet which matches the K header. What I'm trying to do is to rewrite this
formula so that it doesn't look at the header's text but can be any text
found on the sheet.

I'm looking for the wildcard character to say "any text found in matching
cells". My guess is, "*", but when I enter the formula:

{=IF(OR(I3TODAY(),I3=""),"",SUMPRODUCT((Client_Da ta!$A$3:$A$4000<=$B3)*((Client_Data!$N$3:$N$4000=" ")+(Client_Data!$N$3:$N$4000=$B3))*(Client_Data!$ K$3:$K$4000="*")))}

It doesn't work the way it should. Can someone please help me exchange the
K$2 entry please??? Seems simple but it's eluding me.

Thanks in advance!
--Dax
--
I would give my left hand to be ambidextrous!

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
simple formula question Confused in Nebraska Excel Discussion (Misc queries) 3 September 5th 08 11:33 PM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple Formula Question chip_pyp Excel Discussion (Misc queries) 1 December 8th 05 07:01 PM
complicated sum formula question Eric Excel Worksheet Functions 2 December 4th 05 04:30 AM
Simple, but Complicated elusiverunner Excel Discussion (Misc queries) 4 October 31st 05 03:56 PM


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