#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Dynamic Cells

I want to evaluate a single row at a time in a set of formulas.

How would I take a simple equation like =D6 + D12 and make the 12 in D12
dynamic?

Example =D6 + D&(C3) when C3 = 12


What would be the correct syntax to do this?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200902/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 206
Default Dynamic Cells

On Feb 13, 6:46*pm, "mmartens12 via OfficeKB.com" <u24614@uwe wrote:
I want to evaluate a single row at a time in a set of formulas.

How would I take a simple equation like =D6 + D12 and make the 12 in D12
dynamic?

Example * =D6 + D&(C3) * *when C3 = 12

What would be the correct syntax to do this?

--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200902/1


=SUM(INDIRECT(D6&":D"&C12))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Dynamic Cells

One way:

=D6+INDEX(D:D,C3)

If C3 is an empty cell you'll get an error.

--
Biff
Microsoft Excel MVP


"mmartens12 via OfficeKB.com" <u24614@uwe wrote in message
news:91ac03228b8fe@uwe...
I want to evaluate a single row at a time in a set of formulas.

How would I take a simple equation like =D6 + D12 and make the 12 in D12
dynamic?

Example =D6 + D&(C3) when C3 = 12


What would be the correct syntax to do this?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200902/1



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Dynamic Cells

Hi,

Here are two other solutions:

=D6+INDIRECT("D"&C3)

=D6+OFFSET(D1,C3-1,)

And for a little bit of interest if anyone reads this

=SUM(SUM(INDIRECT("D"&{6,12})))

note that the last formula will not return the correct result with only one
SUM, nor if it is array entered with one sum.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"mmartens12 via OfficeKB.com" wrote:

I want to evaluate a single row at a time in a set of formulas.

How would I take a simple equation like =D6 + D12 and make the 12 in D12
dynamic?

Example =D6 + D&(C3) when C3 = 12


What would be the correct syntax to do this?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200902/1


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Dynamic Cells

Thank You!

T. Valko wrote:
One way:

=D6+INDEX(D:D,C3)

If C3 is an empty cell you'll get an error.

I want to evaluate a single row at a time in a set of formulas.

[quoted text clipped - 4 lines]

What would be the correct syntax to do this?


--
Message posted via http://www.officekb.com



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Dynamic Cells

You're welcome!

--
Biff
Microsoft Excel MVP


"mmartens12 via OfficeKB.com" <u24614@uwe wrote in message
news:91cf07c2c0ce3@uwe...
Thank You!

T. Valko wrote:
One way:

=D6+INDEX(D:D,C3)

If C3 is an empty cell you'll get an error.

I want to evaluate a single row at a time in a set of formulas.

[quoted text clipped - 4 lines]

What would be the correct syntax to do this?


--
Message posted via http://www.officekb.com



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
merging dynamic cells deepika :excel help[_2_] Excel Discussion (Misc queries) 0 February 19th 08 06:41 AM
Hlp! Protect Cells in Dynamic Range dee Excel Discussion (Misc queries) 0 November 28th 07 03:07 PM
Dynamic name list and linked cells [email protected] Excel Discussion (Misc queries) 1 April 10th 07 07:00 AM
dynamic charting and snipping cells michael sorens Charts and Charting in Excel 0 November 8th 06 04:36 PM
dynamic selection of cells parthaemail New Users to Excel 1 April 25th 06 12:13 PM


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