Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default formula bar deception

I have a nested formula that I am trying to enter into a cell. When I enter
it into the formula bar, the 'Formula Result' is as I expect but when I hit
'OK', the number displaying in the cell is different and apparently random.
I've tried recalculating, retyping, simplifying (nested IF functions), all to
no avail. The formula bar always looks right and the cell displays wrong.
(It's not a rounding error, I'm trying to get a specific single-digit number
and I get a different single-digit number.)

Help me please!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default formula bar deception

....and your formula is....what?

***********
Regards,
Ron

XL2002, WinXP


"Stephanie" wrote:

I have a nested formula that I am trying to enter into a cell. When I enter
it into the formula bar, the 'Formula Result' is as I expect but when I hit
'OK', the number displaying in the cell is different and apparently random.
I've tried recalculating, retyping, simplifying (nested IF functions), all to
no avail. The formula bar always looks right and the cell displays wrong.
(It's not a rounding error, I'm trying to get a specific single-digit number
and I get a different single-digit number.)

Help me please!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default formula bar deception

Hi Stephanie

Post your formula, and what the contents of the cells being compared
with your If statements, then maybe we can help you.

--
Regards

Roger Govier


"Stephanie" wrote in message
...
I have a nested formula that I am trying to enter into a cell. When I
enter
it into the formula bar, the 'Formula Result' is as I expect but when
I hit
'OK', the number displaying in the cell is different and apparently
random.
I've tried recalculating, retyping, simplifying (nested IF functions),
all to
no avail. The formula bar always looks right and the cell displays
wrong.
(It's not a rounding error, I'm trying to get a specific single-digit
number
and I get a different single-digit number.)

Help me please!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default formula bar deception

=SUM(IF('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8,(IF('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7,1,0)),0))

I am trying to match office location and title from the Personnel-Summary to
fields in the Personnel-Breakdown tab and count the number of matches. As I
said earlier, I get the correct total in the formula bar but a different
number appears when I click 'OK'.

"Stephanie" wrote:

I have a nested formula that I am trying to enter into a cell. When I enter
it into the formula bar, the 'Formula Result' is as I expect but when I hit
'OK', the number displaying in the cell is different and apparently random.
I've tried recalculating, retyping, simplifying (nested IF functions), all to
no avail. The formula bar always looks right and the cell displays wrong.
(It's not a rounding error, I'm trying to get a specific single-digit number
and I get a different single-digit number.)

Help me please!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default formula bar deception

Regarding:
=SUM(IF('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8,(IF('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7,1,0)),0))

I believe that is an ARRAY FORMULA. Consequently, you need to hold down the
[ctrl] and [shift] keys when you press [enter], instead of just pressing
[enter].

Alternatively, you might want to consider a SUMPRODUCT, non-array approach:
=SUMPRODUCT(('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8)*('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7))

(Just press [enter] for that one)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Stephanie" wrote:

=SUM(IF('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8,(IF('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7,1,0)),0))

I am trying to match office location and title from the Personnel-Summary to
fields in the Personnel-Breakdown tab and count the number of matches. As I
said earlier, I get the correct total in the formula bar but a different
number appears when I click 'OK'.

"Stephanie" wrote:

I have a nested formula that I am trying to enter into a cell. When I enter
it into the formula bar, the 'Formula Result' is as I expect but when I hit
'OK', the number displaying in the cell is different and apparently random.
I've tried recalculating, retyping, simplifying (nested IF functions), all to
no avail. The formula bar always looks right and the cell displays wrong.
(It's not a rounding error, I'm trying to get a specific single-digit number
and I get a different single-digit number.)

Help me please!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default formula bar deception

YOU ARE AWESOME!

I completely forgot about the array feature. Holding the extra keys did the
trick. Also, I've never used the SUMPRODUCT function, so I'll have to check
that one out.

Thanks so much for your time!
-Stephanie


"Ron Coderre" wrote:

Regarding:
=SUM(IF('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8,(IF('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7,1,0)),0))

I believe that is an ARRAY FORMULA. Consequently, you need to hold down the
[ctrl] and [shift] keys when you press [enter], instead of just pressing
[enter].

Alternatively, you might want to consider a SUMPRODUCT, non-array approach:
=SUMPRODUCT(('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8)*('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7))

(Just press [enter] for that one)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Stephanie" wrote:

=SUM(IF('Personnel-Summary'!$D$6:$D$101='Personnel-Breakdown'!$A8,(IF('Personnel-Summary'!$E$6:$E$101='Personnel-Breakdown'!C$7,1,0)),0))

I am trying to match office location and title from the Personnel-Summary to
fields in the Personnel-Breakdown tab and count the number of matches. As I
said earlier, I get the correct total in the formula bar but a different
number appears when I click 'OK'.

"Stephanie" wrote:

I have a nested formula that I am trying to enter into a cell. When I enter
it into the formula bar, the 'Formula Result' is as I expect but when I hit
'OK', the number displaying in the cell is different and apparently random.
I've tried recalculating, retyping, simplifying (nested IF functions), all to
no avail. The formula bar always looks right and the cell displays wrong.
(It's not a rounding error, I'm trying to get a specific single-digit number
and I get a different single-digit number.)

Help me please!

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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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