Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Question how to apply conditional formula over large range of cells

What is the correct formula to use in place of this very long formula? I can't figure out how to do a conditional formula over the range of cells from L2 through L65.

=IF('2011 Actual'!L2="McSpadden",'2011 Actual'!M2,0)+IF('2011 Actual'!L3="McSpadden",'2011 Actual'!M3,0)+IF('2011 Actual'!L4="McSpadden",'2011 Actual'!M4,0)+IF('2011 Actual'!L5="McSpadden",'2011 Actual'!M5,0)+IF('2011 Actual'!L6="McSpadden",'2011 Actual'!M6,0)+IF('2011 Actual'!L7="McSpadden",'2011 Actual'!M7,0)+IF('2011 Actual'!L8="McSpadden",'2011 Actual'!M8,0)+IF('2011 Actual'!L9="McSpadden",'2011 Actual'!M9,0)+IF('2011 Actual'!L10="McSpadden",'2011 Actual'!M10,0)+IF('2011 Actual'!L11="McSpadden",'2011 Actual'!M11,0)
  #2   Report Post  
Senior Member
 
Location: Belo Horizonte, Brazil
Posts: 170
Lightbulb

Dear macasst, Good Evening.

I´m not sure if I understood correctly your desire.

Suppose you need the answer at column P

DO this:

P2 -- =IF('2011 Actual'!L2="McSpadden",'2011 Actual'!M2,0)

Now, select the P2
Copy
Select now the P3 to P65 cells
Paste

Tell me if it worked for you.

Mazzaropi
--------------------------------------------------------------------------

Quote:
Originally Posted by macasst View Post
What is the correct formula to use in place of this very long formula? I can't figure out how to do a conditional formula over the range of cells from L2 through L65.

=IF('2011 Actual'!L2="McSpadden",'2011 Actual'!M2,0)+IF('2011 Actual'!L3="McSpadden",'2011 Actual'!M3,0)+IF('2011 Actual'!L4="McSpadden",'2011 Actual'!M4,0)+IF('2011 Actual'!L5="McSpadden",'2011 Actual'!M5,0)+IF('2011 Actual'!L6="McSpadden",'2011 Actual'!M6,0)+IF('2011 Actual'!L7="McSpadden",'2011 Actual'!M7,0)+IF('2011 Actual'!L8="McSpadden",'2011 Actual'!M8,0)+IF('2011 Actual'!L9="McSpadden",'2011 Actual'!M9,0)+IF('2011 Actual'!L10="McSpadden",'2011 Actual'!M10,0)+IF('2011 Actual'!L11="McSpadden",'2011 Actual'!M11,0)
__________________
I hope it can help you.

Best regards,
Marcilio Lobão
---------------------------
Belo Horizonte, Brazil
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 can I apply conditional formating for cells in different file. Hassan Excel Discussion (Misc queries) 2 July 21st 09 02:14 AM
modify a macro to apply to a specific range of cells Dave F Excel Discussion (Misc queries) 2 April 25th 07 03:00 AM
How to apply conditional formatting on group of cells by using dat Jon Excel Discussion (Misc queries) 7 April 9th 07 11:40 AM
How do i a apply range(autoformat) in non-adjacent cells? Brent from the Bahamas New Users to Excel 2 January 23rd 06 10:42 AM
How to apply rounding across a range of cells with other formulae Steve T Excel Worksheet Functions 1 October 20th 05 07:39 PM


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