Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jerome
 
Posts: n/a
Default I am use (=IF(A2=1,"90") in a few cell i need to then add them up


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default I am use (=IF(A2=1,"90") in a few cell i need to then add them up

Hi Jerome,

What should the cell be if A2 not =1?

Let's say zero. To be able to sum, don't use quotes, it will make the cell
text instead of number,so it can not be summed.

=IF(A2=1,90,0)

--
Kind regards,

Niek Otten


"Jerome" wrote in message
...



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jerome
 
Posts: n/a
Default I am use (=IF(A2=1,"90") in a few cell i need to then add them



"Niek Otten" wrote:

Hi Jerome,

What should the cell be if A2 not =1?

Let's say zero. To be able to sum, don't use quotes, it will make the cell
text instead of number,so it can not be summed.

=IF(A2=1,90,0)

--
Kind regards,

Niek Otten


"Jerome" wrote in message
...



ok what i have 46 diff (=if ) in 8 diff cell now im trying to add them all
up. i could send you the file so you can see what it look like

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyeR
 
Posts: n/a
Default I am use (=IF(A2=1,"90") in a few cell i need to then add them up

Is this what you're looking for:

=SUMPRODUCT((A2:A30=1)*90)
OR
=COUNTIF(A2:A30,1)*90

?
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Jerome" wrote in message
...


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
Adding a row to worksheet does not update cell references in another. blausen Excel Worksheet Functions 5 February 25th 06 09:14 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:12 PM.

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"