A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple functions



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2010, 08:46 PM posted to microsoft.public.excel.worksheet.functions
Debbie
external usenet poster
 
Posts: 342
Default Multiple functions

I am attempting to use a combination of "IF" and "IS" statments to solve for
multiple scenarios. For example, I need the following to be solved with the
IF statement:

1) If a price is changed but the item number stays the same, then give me
the supplier that is in cell AJ7
2) If no change is made, then give me the supplier that is in cell C7
3) If a new item number has been entered to replace a deleted item number,
show me the supplier that is in cell C7
4) Delete item with no replacement

I have tried the following to solve and I can only get 2 out of the 4 issues
solved.

=IF(istext(AJ7),C7,AJ7) - solves for (1) and (2)
=IF(istext(C7)AJj7,C7) - solves for (1) and (3)
=IF(isblank(C7),AJ7,C7) - solves for (1) and (2)
I have used (isnontext), and I have tried AND/OR statements but to no avail.


The problem is due to the fact that one of my reference cells (AJ) has a
vlookup formula that will either give me data if the criteria is true, or it
will give me no data (the cell will be blank) if the criteria is false. When
no data shows up, excel looks at the cell as "not empty" even though no data
appears.

I need help........
--
Debbie Sherman
  #2  
Old March 18th, 2010, 02:14 PM posted to microsoft.public.excel.worksheet.functions
Reg
external usenet poster
 
Posts: 71
Default Multiple functions

Debbie

apologies that this is not more complete solution but I dont have time to
repsond in detail.

On your last point - the 'isblank' function rerturning false even though the
vlookup is returning nothing - can be solved by comparing the cell to ""
rather than using 'Isblank' - for example:

= or(isblank(a1),a1="")

hope this helps a little

Reg

"Debbie" wrote:

I am attempting to use a combination of "IF" and "IS" statments to solve for
multiple scenarios. For example, I need the following to be solved with the
IF statement:

1) If a price is changed but the item number stays the same, then give me
the supplier that is in cell AJ7
2) If no change is made, then give me the supplier that is in cell C7
3) If a new item number has been entered to replace a deleted item number,
show me the supplier that is in cell C7
4) Delete item with no replacement

I have tried the following to solve and I can only get 2 out of the 4 issues
solved.

=IF(istext(AJ7),C7,AJ7) - solves for (1) and (2)
=IF(istext(C7)AJj7,C7) - solves for (1) and (3)
=IF(isblank(C7),AJ7,C7) - solves for (1) and (2)
I have used (isnontext), and I have tried AND/OR statements but to no avail.


The problem is due to the fact that one of my reference cells (AJ) has a
vlookup formula that will either give me data if the criteria is true, or it
will give me no data (the cell will be blank) if the criteria is false. When
no data shows up, excel looks at the cell as "not empty" even though no data
appears.

I need help........
--
Debbie Sherman

  #3  
Old March 19th, 2010, 08:33 PM posted to microsoft.public.excel.worksheet.functions
Debbie
external usenet poster
 
Posts: 342
Default Multiple functions

Thanks for your response. After stepping away from it for a while I realized
I was making it too difficult. I was able to solve the issue by using the
following:

IF($AJ181="",C181,AJ181)

It solved all four of the issues.
--
Debbie Sherman


"Debbie" wrote:

I am attempting to use a combination of "IF" and "IS" statments to solve for
multiple scenarios. For example, I need the following to be solved with the
IF statement:

1) If a price is changed but the item number stays the same, then give me
the supplier that is in cell AJ7
2) If no change is made, then give me the supplier that is in cell C7
3) If a new item number has been entered to replace a deleted item number,
show me the supplier that is in cell C7
4) Delete item with no replacement

I have tried the following to solve and I can only get 2 out of the 4 issues
solved.

=IF(istext(AJ7),C7,AJ7) - solves for (1) and (2)
=IF(istext(C7)AJj7,C7) - solves for (1) and (3)
=IF(isblank(C7),AJ7,C7) - solves for (1) and (2)
I have used (isnontext), and I have tried AND/OR statements but to no avail.


The problem is due to the fact that one of my reference cells (AJ) has a
vlookup formula that will either give me data if the criteria is true, or it
will give me no data (the cell will be blank) if the criteria is false. When
no data shows up, excel looks at the cell as "not empty" even though no data
appears.

I need help........
--
Debbie Sherman

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.