• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: If statements in Excel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If statements in Excel


  • Subject: Re: If statements in Excel
  • From: Kurt Klamp <email@hidden>
  • Date: Wed, 28 Nov 2007 20:32:11 +0100

Maybe this helps:

repeat with i from 1 to (count cells of range ("F2:F" & z ))
		set targetCell to (cell i of range ("I2:I" & z))
		if value of cell ("F" & i) = "Printed" then

if (get value of cell i of range ("F2:F" & z )) = Printed" then

			set value of targetCell to {"OK"}
		else
			exit repeat
		end if
	end repeat

but why you don't fill the Range (column I) with a formula like '=IF (F2="Printed";"OK";"")'


Kurt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >If statements in Excel (From: "Justin Laden" <email@hidden>)

  • Prev by Date: If statements in Excel
  • Next by Date: Re: If statements in Excel
  • Previous by thread: If statements in Excel
  • Next by thread: Re: If statements in Excel
  • Index(es):
    • Date
    • Thread