#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default Complex Function

I need help, if possible to design a function:

If Column "AUFNR" is empty, I need to replace the Value in column "Pool2" by
the value in column "AUFNR" for the same pool.
Then I need to multiply the value of column "Owner" for the value in column
"POOL2" * the value of column "Owner" in column "POOL."

Original table
VALID_FR POOL AUFNR POOL2 VALID_TO OWNER
200803 xx-102 xx-104 200803 6.358100
200803 xx-102 xx-109 200803 0.000800
200803 xx-102 Owner1 200803 24.580100
200803 xx-102 Owner2 200803 4.026100
200803 xx-104 Ownerb1 200803 61.136300
200803 xx-104 Ownerb2 200803 38.863700
200803 xx-109 Owner1 200803 68.737600
200803 xx-109 Owner1 200803 31.262400
The function output table should like this.
VALID_FR POOL AUFNR POOL2 VALID_TO OWNER
200803 xx-102 Ownerb1 200803 67.494400
200803 xx-102 Ownerb2 200803 45.221800
200803 xx-102 Owner1 200803 68.738400
200803 xx-102 Owner1 200803 31.263200
200803 xx-102 Owner1 200803 24.580100
200803 xx-102 Owner2 200803 4.026100
200803 xx-104 Ownerb1 200803 61.136300
200803 xx-104 Ownerb2 200803 38.863700
200803 xx-109 Owner1 200803 68.737600
200803 xx-109 Owner1 200803 31.262400
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Complex Function

Hi Jeff,

I think you'll have to explain a lot more. I can see no relation between your input and output. It is not at all clear what your
"columns" mean

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jeff" wrote in message ...
|I need help, if possible to design a function:
|
| If Column "AUFNR" is empty, I need to replace the Value in column "Pool2" by
| the value in column "AUFNR" for the same pool.
| Then I need to multiply the value of column "Owner" for the value in column
| "POOL2" * the value of column "Owner" in column "POOL."
|
| Original table
| VALID_FR POOL AUFNR POOL2 VALID_TO OWNER
| 200803 xx-102 xx-104 200803 6.358100
| 200803 xx-102 xx-109 200803 0.000800
| 200803 xx-102 Owner1 200803 24.580100
| 200803 xx-102 Owner2 200803 4.026100
| 200803 xx-104 Ownerb1 200803 61.136300
| 200803 xx-104 Ownerb2 200803 38.863700
| 200803 xx-109 Owner1 200803 68.737600
| 200803 xx-109 Owner1 200803 31.262400
| The function output table should like this.
| VALID_FR POOL AUFNR POOL2 VALID_TO OWNER
| 200803 xx-102 Ownerb1 200803 67.494400
| 200803 xx-102 Ownerb2 200803 45.221800
| 200803 xx-102 Owner1 200803 68.738400
| 200803 xx-102 Owner1 200803 31.263200
| 200803 xx-102 Owner1 200803 24.580100
| 200803 xx-102 Owner2 200803 4.026100
| 200803 xx-104 Ownerb1 200803 61.136300
| 200803 xx-104 Ownerb2 200803 38.863700
| 200803 xx-109 Owner1 200803 68.737600
| 200803 xx-109 Owner1 200803 31.262400


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
complex function----Help! narp[_2_] Excel Worksheet Functions 5 May 21st 08 09:30 PM
Complex Function? Metolius Dad Excel Worksheet Functions 2 August 31st 06 06:04 AM
complex function LostSam Excel Worksheet Functions 2 May 3rd 06 01:57 AM
complex function GTUGoddess Excel Worksheet Functions 4 September 20th 05 02:55 PM
Complex if and mid function. brookdale Excel Worksheet Functions 5 June 28th 05 07:52 PM


All times are GMT +1. The time now is 08:53 PM.

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"