Results 1 to 9 of 9

Changing cell source

Threaded View

  1. #1
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    1,003

    Changing cell source

    Simple one (I'm sure) for you on here. I have a formula, =IF(C2=1,D2*C5+E2*E5,0) that's works just fine if C2=1. Is it possible to have a single formula that would work if C2 was to equal 2,3 or 4?

    Basically if I could I would have 4 formulas in the same cell they would be =IF(C2=1,D2*C5+E2*E5,0) =IF(C2=2,D2*C6+E2*E6,0) =IF(C2=3,D2*C7+E2*E7,0) =IF(C2=4,D2*C8+E2*E8,0)

    Thanking you in anticipation
    Last edited by Marvo; 04-11-2016 at 05:50 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing Data Source
    By KaelVonrik in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-25-2016, 02:07 PM
  2. [SOLVED] Changing powerpivot source
    By stephme55 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-27-2016, 03:57 AM
  3. Replies: 2
    Last Post: 10-30-2015, 01:15 PM
  4. Change Chart Source Data series by changing cell
    By Hendra S in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-10-2014, 02:09 PM
  5. [SOLVED] Changing Pivot Table Source Week using a reference cell
    By interested in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2013, 06:12 AM
  6. Replies: 8
    Last Post: 01-11-2013, 11:21 PM
  7. linking to a changing source
    By carverlee in forum Excel General
    Replies: 2
    Last Post: 05-14-2010, 05:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1