Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Space Elf
 
Posts: n/a
Default Some formula results will not show up in the cell

Sometimes when I build a nested formula, the results don't show in the
cell. The only thing that shows is representative how the cell is formated,
ie: number format with 2 decimal points displays "0.00"

When I click on the cell with the formula, it appears in the input box. If
I click the equal sign, the drop-down menu shows the correct results, even if
I change the data it uses to determine the answer.

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is the formula. I intend to extend the range from 12 to about 90 when
it works.

Basically, what I want is to check for the word "Hours" from column A and
if it finds it, average the data from the corresponcing column C.

Since "Hours" is every 4th line, I was looking for a "step" function
simular to the one used in BASIC.

Any ideas?

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is an array formula. Instead of just typing in the formula and then
hitting the ENTER key you must use the key combination of CTRL,SHIFT,ENTER.

Try this:

Select the cell this formula is in.

Now, goto the formula bar and place the cursor at the end of the formula.

Hold down the CTRL and SHIFT keys then hit ENTER.

When done properly Excel will place squiggly braces { } around the formula.
You must use the key combo to do this. You cannot just type the braces in
manually.

Biff

"Space Elf" <Space wrote in message
...
Sometimes when I build a nested formula, the results don't show in the
cell. The only thing that shows is representative how the cell is
formated,
ie: number format with 2 decimal points displays "0.00"

When I click on the cell with the formula, it appears in the input box.
If
I click the equal sign, the drop-down menu shows the correct results, even
if
I change the data it uses to determine the answer.

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is the formula. I intend to extend the range from 12 to about 90
when
it works.

Basically, what I want is to check for the word "Hours" from column A and
if it finds it, average the data from the corresponcing column C.

Since "Hours" is every 4th line, I was looking for a "step" function
simular to the one used in BASIC.

Any ideas?



  #3   Report Post  
Space Elf
 
Posts: n/a
Default

Thanks Biff! That did it!

"Biff" wrote:

Hi!

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is an array formula. Instead of just typing in the formula and then
hitting the ENTER key you must use the key combination of CTRL,SHIFT,ENTER.

Try this:

Select the cell this formula is in.

Now, goto the formula bar and place the cursor at the end of the formula.

Hold down the CTRL and SHIFT keys then hit ENTER.

When done properly Excel will place squiggly braces { } around the formula.
You must use the key combo to do this. You cannot just type the braces in
manually.

Biff

"Space Elf" <Space wrote in message
...
Sometimes when I build a nested formula, the results don't show in the
cell. The only thing that shows is representative how the cell is
formated,
ie: number format with 2 decimal points displays "0.00"

When I click on the cell with the formula, it appears in the input box.
If
I click the equal sign, the drop-down menu shows the correct results, even
if
I change the data it uses to determine the answer.

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is the formula. I intend to extend the range from 12 to about 90
when
it works.

Basically, what I want is to check for the word "Hours" from column A and
if it finds it, average the data from the corresponcing column C.

Since "Hours" is every 4th line, I was looking for a "step" function
simular to the one used in BASIC.

Any ideas?




  #4   Report Post  
Biff
 
Posts: n/a
Default

You're welcome. Thanks for the feedback!

Biff

"Space Elf" wrote in message
...
Thanks Biff! That did it!

"Biff" wrote:

Hi!

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is an array formula. Instead of just typing in the formula and then
hitting the ENTER key you must use the key combination of
CTRL,SHIFT,ENTER.

Try this:

Select the cell this formula is in.

Now, goto the formula bar and place the cursor at the end of the formula.

Hold down the CTRL and SHIFT keys then hit ENTER.

When done properly Excel will place squiggly braces { } around the
formula.
You must use the key combo to do this. You cannot just type the braces in
manually.

Biff

"Space Elf" <Space wrote in message
...
Sometimes when I build a nested formula, the results don't show in the
cell. The only thing that shows is representative how the cell is
formated,
ie: number format with 2 decimal points displays "0.00"

When I click on the cell with the formula, it appears in the input
box.
If
I click the equal sign, the drop-down menu shows the correct results,
even
if
I change the data it uses to determine the answer.

=AVERAGE(IF(A1:A12="Hours",C1:C12))

This is the formula. I intend to extend the range from 12 to about 90
when
it works.

Basically, what I want is to check for the word "Hours" from column A
and
if it finds it, average the data from the corresponcing column C.

Since "Hours" is every 4th line, I was looking for a "step" function
simular to the one used in BASIC.

Any ideas?






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
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
How do you copy a cell formula down a column without displaying n. Coddie Excel Worksheet Functions 4 January 18th 05 02:31 PM
Displaying the results of multiple formulas in a single cell. gallegos1580 New Users to Excel 1 January 12th 05 04:14 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


All times are GMT +1. The time now is 11:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"