LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Array? IF? LOOKUP? VBA?

Duh, of course!

Thanks Bob!



Bob Phillips wrote:
Sorry, should be

=SUM(A1:A10)+COUNTIF(A1:A10,"red")*100

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
What is the most efficient way to separately compute the sum of cells
from rows 1:10, across [an array] of multiple columns, if I want to
assign a numerical value of 100 to all cells that have the value "x" in
the cell?

* I am not allowed to alter the formatting of the worksheet, ergo the
"x" values must remain in the cells;

* I do not want to create extra (ghost) columns just to change the "x"
values to 100.


Essentially, I want to perform this function:

=SUM(A1:A10) (and SUM(B1:B10), etc)

while imposing the condition that =IF((A$1:A$10)="x",100,A$1:A$10)



Thanks in advance for suggestions!


 
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
Use array for lookup value, to return array of lookups Glen Excel Discussion (Misc queries) 3 May 7th 09 11:55 PM
Is there a way to do this - without array or lookup? Brad Excel Discussion (Misc queries) 2 March 20th 09 08:20 PM
Lookup array RD Wirr Excel Worksheet Functions 5 February 13th 07 01:29 PM
lookup array HFC-SC New Users to Excel 3 August 14th 06 09:24 PM
Lookup "greater than or equal to" in lookup array icemouse New Users to Excel 3 February 16th 06 10:07 PM


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