Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Nested formula...I think

I have a workbook with 11 worksheets.
The first worksheet is the Fruits followed by Apples, oranges, grapefruit,
grapes, plums, kiwi, cherries, peaches, bananas, and figs.

Fruits B2-32 is going to contain a number. C2-32 is going to contain a fruit
B2=10, B3=20, B4=30, B5=50, B6=60, B7=70, etc. C2=Apples, C3=Oranges,
C4=Grapefruit, C5=Grapes, C6=Plums, C7=Kiwi, C8=Cherries, C9=Peaches,
C10=Bananas, C11=Figs.

If FruitsB2=10 and FruitsC2=Apples then I need AppleF2=10, but if FruitsC2
contains any other word, then AppleF2 needs to remain blank and F2 on the
appropriate worksheet needs to =FruitsB2. If FruitsB2=50 and FruitsC2=Plums,
then F2 on all worksheets except the Plums worksheet should be blank and 50
should be entered into PlumsF2.

I need each worksheet (Column F) to look at the Fruits worksheet (Column C)
and if Column C contains the fruit listed as the worksheet name, then the
number in Column B needs to copy into Column F.
I have an example if seeing it would be easier.
Thanks for the help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Nested formula...I think

Copy the below formula to F2 of each sheet Apples,oranges etc; For the below
formula to work the workbook should be saved...

The below formula will lookup the 'Fruits' worksheet and pick the value of
the fruit named as the current worksheet

=SUMIF(Fruits!C:C,REPLACE(CELL("Filename",A1),1,FI ND("]",CELL("filename",A1)),""),Fruits!B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Diogie" wrote:

I have a workbook with 11 worksheets.
The first worksheet is the Fruits followed by Apples, oranges, grapefruit,
grapes, plums, kiwi, cherries, peaches, bananas, and figs.

Fruits B2-32 is going to contain a number. C2-32 is going to contain a fruit
B2=10, B3=20, B4=30, B5=50, B6=60, B7=70, etc. C2=Apples, C3=Oranges,
C4=Grapefruit, C5=Grapes, C6=Plums, C7=Kiwi, C8=Cherries, C9=Peaches,
C10=Bananas, C11=Figs.

If FruitsB2=10 and FruitsC2=Apples then I need AppleF2=10, but if FruitsC2
contains any other word, then AppleF2 needs to remain blank and F2 on the
appropriate worksheet needs to =FruitsB2. If FruitsB2=50 and FruitsC2=Plums,
then F2 on all worksheets except the Plums worksheet should be blank and 50
should be entered into PlumsF2.

I need each worksheet (Column F) to look at the Fruits worksheet (Column C)
and if Column C contains the fruit listed as the worksheet name, then the
number in Column B needs to copy into Column F.
I have an example if seeing it would be easier.
Thanks for the help.

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
Nested formula Hanya Excel Discussion (Misc queries) 3 December 23rd 08 07:38 PM
Nested IF Formula Lori1218 Excel Discussion (Misc queries) 5 September 1st 08 02:03 AM
Nested if formula ocuhcs Excel Discussion (Misc queries) 4 February 22nd 08 02:45 PM
Help with nested formula Rykar2 Excel Discussion (Misc queries) 7 May 16th 07 06:53 PM
Nested Formula TheLeafs Excel Worksheet Functions 1 July 11th 05 04:04 PM


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