Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Complex Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff - 22 May 2008 21:55 GMT
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
Niek Otten - 22 May 2008 22:25 GMT
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

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

|I need help, if possible to design a function:
|
[quoted text clipped - 25 lines]
| 200803 xx-109 Owner1 200803 68.737600
| 200803 xx-109 Owner1 200803 31.262400
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.