+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    108

    Red face IF-ELSE Question

    Hi,

    I am facing a problem on the following:

    I have data set on 3 Cost parameter (Energy, Network, Opex) across 11 circles. I am picking the data using vlookup for all circles. But at Infra Level, I have to either pick the value available in data set or calculate the sum of all circles.

    In the sample data attached:

    If Data for INFRA is available in data tab, pick the values else do the sum of all circles. Answer for Network Infra is 17915.

    Therefore, for network and Opex field, it would be sum of all circles and for energy it would be 15000 from data tab.

    Please resolve.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    5,740

    Re: IF-ELSE Question

    Something like this?

    =IF(VLOOKUP($A$13,Data!$A:$D,1+COLUMNS($A$1:A1),0)>0,VLOOKUP($A$13,Data!$A:$D,1+COLUMNS($A$1:A1),0), SUM(Data!B:B))
    "Relax. What is mind? No matter. What is matter? Never mind!"

Thread Information

Users Browsing this Thread

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

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.2.0