Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15))
What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
=IF(OR(LEFT(A15,1)="H",LEFT(A15,1)="P"),A15,"") Vaya con Dios, Chuck, CABGx3 "Greg" wrote: This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
Hi
Here's one way around it: =IF(OR(LEFT(Summary!A15,1)<"H",LEFT(Summary!A15,1 )<"P"),Summary!A15) Hope this helps. Andy. "Greg" wrote in message ... This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
=IF(OR(LEFT(Summary!A15,1)="H",LEFT(Summary!A15,1) ="P"),Summary!A15,"")
you had some eraneous "=". Also, the wildcard can't be used in this manner. "Greg" wrote: This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
Try it this way. =IF(OR(LEFT(Summary!A15,1)="H",LEFT(Summary!A15,1) ="P"),Summary!A15,"") Does that help? -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=517373 |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
All your help is perfect. Except I want one more piece of the puzzle. I
only want the data from A15 if it starts with an H or P. Is there something needed if it's false. "Greg" wrote: This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
All your help is perfect. Except I want one more piece of the puzzle. I
only want the data from A15 if it starts with an H or P. Is there something needed if it's a false statement. If it's false I want to return it blank. "Sloth" wrote: =IF(OR(LEFT(Summary!A15,1)="H",LEFT(Summary!A15,1) ="P"),Summary!A15,"") you had some eraneous "=". Also, the wildcard can't be used in this manner. "Greg" wrote: This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
All your help is perfect. Except I want one more piece of the puzzle. I
only want the data from A15 if it starts with an H or P. Is there something needed if it's a false statement. If it's false I want to return it blank. "SteveG" wrote: Try it this way. =IF(OR(LEFT(Summary!A15,1)="H",LEFT(Summary!A15,1) ="P"),Summary!A15,"") Does that help? -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=517373 |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can't get my IF formula just right
Thanks this was what I needed. Greg
"CLR" wrote: =IF(OR(LEFT(A15,1)="H",LEFT(A15,1)="P"),A15,"") Vaya con Dios, Chuck, CABGx3 "Greg" wrote: This is my formula =IF(=OR(Summary!A15<"H*",Summary!A15<"P*"),=Summ ary!A15)) What I want to do is if the cell starts with the Letter H or P than I want to return that cell as the true statment. If not than nothing. What am I doing wrong. Somebody please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
2 Nesting questions | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |