Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
how do I create a function where if this tab says PSS then you need to
calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If by "tab" you mean cell (since the worksheet tabs containing the
worksheet names at the bottom of the window cannot be blank), one way: =IF(A2="PSS",A1*70%,IF(A2="Derma",A1*80%,"")) In article , Caroline wrote: how do I create a function where if this tab says PSS then you need to calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi McGimpsey,
tab is cell.... my bad. :-) So you are saying that you can add more than one if. Can you do an if and an average combined in a function? Just trying to see options. Thanks. caroline "JE McGimpsey" wrote: If by "tab" you mean cell (since the worksheet tabs containing the worksheet names at the bottom of the window cannot be blank), one way: =IF(A2="PSS",A1*70%,IF(A2="Derma",A1*80%,"")) In article , Caroline wrote: how do I create a function where if this tab says PSS then you need to calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What does "tab" mean? try
=if(a2="pss",.7,if(a2="derma",.8,1))*a1 -- Don Guillett SalesAid Software "Caroline" wrote in message ... how do I create a function where if this tab says PSS then you need to calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can't have a blank tab but can return the name of the sheet with
=MID(CELL("Filename",A2),FIND("]",CELL("filename",A2))+1,255) which you can use to carry out your formula. "Caroline" wrote: how do I create a function where if this tab says PSS then you need to calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am a bit confused or maybe I confused everyone.
This is what I need. I have cell where I place : A B C D example distributor $amount Commission $ 1 PSS 100,000 B4 *C1 2 n/a 85,000 C2 3 Avanti 180,000 B5 *C3 RANGE 4 PSS 75% 5 Avanti 90% 6 ASA 75% "Mike" wrote: You can't have a blank tab but can return the name of the sheet with =MID(CELL("Filename",A2),FIND("]",CELL("filename",A2))+1,255) which you can use to carry out your formula. "Caroline" wrote: how do I create a function where if this tab says PSS then you need to calculate A1 * 70% and if the tab instead says Derma then it should be A1 * 80% if it tab is blank, don't calculate anthing. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need some comments on my Utility_Move class module. | Excel Worksheet Functions | |||
Creating a Custom Excel Function to Calculate Gini Coefficients | Excel Worksheet Functions | |||
Date & Time | New Users to Excel | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions |