Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Help to edit a formula

Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to count
both T and R.

Thank you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help to edit a formula

SUM(IF((AB15:AB111={"T","R"})*(ISBLANK(Y15:Y111)< TRUE),1,0))

ctrl+shift+enter, not just enter


"Hell-fire" wrote:

Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to count
both T and R.

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Help to edit a formula

HF,

Array enter (enter using Ctrl-Shift-Enter)

=SUM(((AB15:AB111="R")+(AB15:AB111="T"))*(Y15:Y111 <""))

If you enter it correctly, Excel will put { } around the formula.

HTH,
Bernie
MS Excel MVP


"Hell-fire" wrote in message
...
Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to
count
both T and R.

Thank you



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help to edit a formula

Another way...

=SUMPRODUCT((AB15:AB111={"T","R"})*(Y15:Y111)<"") )


"Hell-fire" wrote:

Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to count
both T and R.

Thank you

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help to edit a formula

correction:

=SUMPRODUCT((AB15:AB111={"T","R"})*(Y15:Y111<""))


"Teethless mama" wrote:

Another way...

=SUMPRODUCT((AB15:AB111={"T","R"})*(Y15:Y111)<"") )


"Hell-fire" wrote:

Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to count
both T and R.

Thank you



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help to edit a formula

Try this (normally entered, not array entered):

=SUMPRODUCT((AB15:AB111={"A","R","T"})*(Y15:Y111< ""))

Biff

"Hell-fire" wrote in message
...
Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to
count
both T and R.

Thank you



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Help to edit a formula

Hi Teethless mama,

Thank you very much for responding and your suggestion. It works like a
charm.

"Teethless mama" wrote:

correction:

=SUMPRODUCT((AB15:AB111={"T","R"})*(Y15:Y111<""))


"Teethless mama" wrote:

Another way...

=SUMPRODUCT((AB15:AB111={"T","R"})*(Y15:Y111)<"") )


"Hell-fire" wrote:

Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to count
both T and R.

Thank you

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Help to edit a formula

Hi Bernie,

Thank you for responding and your suggestion. Will make a note of it for
future reference as I learn how to do formulas in Excel

"Bernie Deitrick" wrote:

HF,

Array enter (enter using Ctrl-Shift-Enter)

=SUM(((AB15:AB111="R")+(AB15:AB111="T"))*(Y15:Y111 <""))

If you enter it correctly, Excel will put { } around the formula.

HTH,
Bernie
MS Excel MVP


"Hell-fire" wrote in message
...
Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to
count
both T and R.

Thank you




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Help to edit a formula

Hi T. Valko,

Thank you for responding and your suggestion. Will make a note of it for
future reference as I learn how to do formulas in Excel

"T. Valko" wrote:

Try this (normally entered, not array entered):

=SUMPRODUCT((AB15:AB111={"A","R","T"})*(Y15:Y111< ""))

Biff

"Hell-fire" wrote in message
...
Hi,

I have this formula from a former co-worker and I need to add something to
it. I'm not very good at Excel formulas and need help.

The formula is: SUM(IF((AB15:AB111="T")*(ISBLANK(Y15:Y111)<TRUE), 1,0))

In Column AB we have 3 different values: A, T, and R. There is a formula
for A already in another cell. The problem I have is, I need both T and R
added up for the tally. I need to know how to modify this formula to
count
both T and R.

Thank you




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 to edit formula without changing formula of each cell sadat Excel Worksheet Functions 2 April 24th 07 02:02 PM
Formula edit sunderland27 Excel Discussion (Misc queries) 12 April 21st 06 11:02 PM
fx instead of "=" on formula edit bar Incoherent Excel Discussion (Misc queries) 4 September 10th 05 12:33 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
= (edit formula) ecox Excel Discussion (Misc queries) 2 March 21st 05 10:01 PM


All times are GMT +1. The time now is 05:33 AM.

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"